From a3f8a85ee54f7eb9820fc98e0f2241ebbc795f6d Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Tue, 7 Oct 2025 12:15:53 -0500 Subject: [PATCH] Set proper return value from WM_DESTROY message on Windows The documented return value for this message is an integer return code. --- colcon_notification/desktop_notification/win32.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/colcon_notification/desktop_notification/win32.py b/colcon_notification/desktop_notification/win32.py index 9c8af54..82395ec 100644 --- a/colcon_notification/desktop_notification/win32.py +++ b/colcon_notification/desktop_notification/win32.py @@ -124,3 +124,5 @@ def _on_destroy(hwnd, msg, wparam, lparam): # noqa: D102 'Failed to delete the notification handle: {e}' .format_map(locals())) win32gui.PostQuitMessage(0) + + return 0