internal/ui: bug fix: error check at syscall

This commit is contained in:
Hajime Hoshi 2022-12-13 02:26:00 +09:00
parent 0bec1e65fa
commit b022f6d86a

View File

@ -158,5 +158,5 @@ func (i *_ITaskbarList) DeleteTab(hwnd windows.HWND) error {
} }
func (i *_ITaskbarList) Release() { func (i *_ITaskbarList) Release() {
syscall.Syscall(i.vtbl.Release, 1, uintptr(unsafe.Pointer(i)), 0, 0) _, _, _ := syscall.Syscall(i.vtbl.Release, 1, uintptr(unsafe.Pointer(i)), 0, 0)
} }