Merge branch 'blender-v3.6-release'

This commit is contained in:
Campbell Barton 2023-05-19 15:14:27 +10:00
commit 3db0bde21d
1 changed files with 4 additions and 0 deletions

View File

@ -1002,6 +1002,10 @@ static void gwl_display_destroy(GWL_Display *display)
delete display->ghost_timer_manager;
display->ghost_timer_manager = nullptr;
}
/* Pending events may be left unhandled. */
for (GHOST_IEvent *event : display->events_pending) {
delete event;
}
#endif /* USE_EVENT_BACKGROUND_THREAD */