rev116, Fix websocket error when writing invalid files on not-owned sites, Fix for stucked notification icon after shutdown

This commit is contained in:
HelloZeroNet 2015-04-21 00:35:34 +02:00
parent dc4292e1e3
commit f576527986
4 changed files with 6 additions and 3 deletions

View file

@ -653,7 +653,7 @@ class NotificationIcon(object):
print "Icon thread stopped, removing icon..."
#KillTimer(self._hwnd, self._timerid)
Shell_NotifyIcon(NIM_DELETE, ctypes.pointer(iconinfo))
Shell_NotifyIcon(NIM_DELETE, ctypes.cast(ctypes.pointer(iconinfo), ctypes.POINTER(NOTIFYICONDATA)))
ctypes.windll.user32.DestroyWindow(self._hwnd)
ctypes.windll.user32.DestroyIcon(self._hicon)