Skip to content

Commit e535828

Browse files
authored
Set proper return value from WM_DESTROY message on Windows (#75)
The documented return value for this message is an integer return code.
1 parent 4847054 commit e535828

File tree

1 file changed

+2
-0
lines changed
  • colcon_notification/desktop_notification

1 file changed

+2
-0
lines changed

colcon_notification/desktop_notification/win32.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,5 @@ def _on_destroy(hwnd, msg, wparam, lparam): # noqa: D102
124124
'Failed to delete the notification handle: {e}'
125125
.format_map(locals()))
126126
win32gui.PostQuitMessage(0)
127+
128+
return 0

0 commit comments

Comments
 (0)