Fix #27522: crash when closing new render window with render error message
showing in the main window.
This commit is contained in:
parent
5a3aaf1fd1
commit
337e74963b
@ -1009,6 +1009,8 @@ void WM_event_remove_timer(wmWindowManager *wm, wmWindow *UNUSED(win), wmTimer *
|
||||
if(wt==timer)
|
||||
break;
|
||||
if(wt) {
|
||||
if(wm->reports.reporttimer == wt)
|
||||
wm->reports.reporttimer= NULL;
|
||||
|
||||
BLI_remlink(&wm->timers, wt);
|
||||
if(wt->customdata)
|
||||
|
Loading…
Reference in New Issue
Block a user