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