Skip to content

Commit

Permalink
Revert "win32u: Add support for raising EVENT_OBJECT_DESTROY events o…
Browse files Browse the repository at this point in the history
…n windows."

This reverts commit d02075f.
  • Loading branch information
Esme Povirk authored and rbernon committed Jul 19, 2024
1 parent e417910 commit 9326da9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dlls/win32u/window.c
Original file line number Diff line number Diff line change
Expand Up @@ -4704,7 +4704,6 @@ static void send_destroy_message( HWND hwnd )
if (hwnd == NtUserGetClipboardOwner()) release_clipboard_owner( hwnd );

send_message( hwnd, WM_DESTROY, 0, 0);
NtUserNotifyWinEvent( EVENT_OBJECT_DESTROY, hwnd, OBJID_WINDOW, 0 );

/*
* This WM_DESTROY message can trigger re-entrant calls to DestroyWindow
Expand Down

0 comments on commit 9326da9

Please sign in to comment.