On Windows, improve handling of window destruction (#1798)
This commit is contained in:
parent
932cbe40bf
commit
c05952b813
2 changed files with 76 additions and 9 deletions
|
|
@ -114,6 +114,8 @@ impl Window {
|
|||
window_state: win.window_state.clone(),
|
||||
event_loop_runner: event_loop.runner_shared.clone(),
|
||||
file_drop_handler,
|
||||
subclass_removed: Cell::new(false),
|
||||
recurse_depth: Cell::new(0),
|
||||
};
|
||||
|
||||
event_loop::subclass_window(win.window.0, subclass_input);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue