Windows: Changed thread_event_target_callback's WM_DESTROY to WM_NCDESTROY (#1780)
This commit is contained in:
parent
db038d943c
commit
6f70fd90b9
2 changed files with 2 additions and 1 deletions
|
|
@ -1939,7 +1939,7 @@ unsafe extern "system" fn thread_event_target_callback<T: 'static>(
|
|||
// the closure to catch_unwind directly so that the match body indendation wouldn't change and
|
||||
// the git blame and history would be preserved.
|
||||
let callback = || match msg {
|
||||
winuser::WM_DESTROY => {
|
||||
winuser::WM_NCDESTROY => {
|
||||
Box::from_raw(subclass_input);
|
||||
drop(subclass_input);
|
||||
0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue