[Windows, 3.x] Remove cached icon earlier, to prevent double free crash on exit.
This commit is contained in:
parent
241c267d9c
commit
c8978f58af
1 changed files with 1 additions and 0 deletions
|
@ -1757,6 +1757,7 @@ void OS_Windows::finalize() {
|
|||
memdelete(input);
|
||||
touch_state.clear();
|
||||
|
||||
icon.unref();
|
||||
cursors_cache.clear();
|
||||
visual_server->finish();
|
||||
memdelete(visual_server);
|
||||
|
|
Loading…
Reference in a new issue