Merge pull request #30799 from guilhermefelipecgs/fix_30795
Fix crash when using custom cursor
This commit is contained in:
commit
eb300ba8fe
3 changed files with 3 additions and 0 deletions
|
@ -1599,6 +1599,7 @@ void OS_OSX::finalize() {
|
|||
memdelete(joypad_osx);
|
||||
memdelete(input);
|
||||
|
||||
cursors_cache.clear();
|
||||
visual_server->finish();
|
||||
memdelete(visual_server);
|
||||
//memdelete(rasterizer);
|
||||
|
|
|
@ -1537,6 +1537,7 @@ void OS_Windows::finalize() {
|
|||
memdelete(camera_server);
|
||||
touch_state.clear();
|
||||
|
||||
cursors_cache.clear();
|
||||
visual_server->finish();
|
||||
memdelete(visual_server);
|
||||
#ifdef OPENGL_ENABLED
|
||||
|
|
|
@ -788,6 +788,7 @@ void OS_X11::finalize() {
|
|||
|
||||
memdelete(camera_server);
|
||||
|
||||
cursors_cache.clear();
|
||||
visual_server->finish();
|
||||
memdelete(visual_server);
|
||||
//memdelete(rasterizer);
|
||||
|
|
Loading…
Reference in a new issue