Fixed taskbar progress indicator

This commit is contained in:
Moulberry committed 2024-12-18 17:46:39 -05:00
1 parent 7794d8044d
commit cc244ccb3c
1 file changed
+1 -5
@@ -12,11 +12,7 @@ public class WindowsTaskbar extends COMInvoker implements ITaskbar {
WindowsTaskbar(Pointer ptr, WinDef.HWND hwnd) {
this.setPointer(ptr);
this.hwnd = hwnd;
try {
this.invokeNative(3); // HrInit
} finally {
this.invokeNative(2); // Release
}
this.invokeNative(3); // HrInit
}
private void invokeNative(int ventry, Object... objects) {