Fix #27522: crash when closing new render window with render error message

showing in the main window.
This commit is contained in:
Brecht Van Lommel 2011-05-30 11:44:28 +00:00
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)