screen_signal should be reset to -1
This commit is contained in:
parent
c384c5dd3e
commit
55a96a7eee
|
@ -2765,7 +2765,7 @@ void ami_gui_close_screen(struct Screen *scrn, BOOL locked_screen, BOOL donotwai
|
|||
if(CloseScreen(scrn) == TRUE) {
|
||||
if(locked_screen == FALSE) {
|
||||
FreeSignal(screen_signal);
|
||||
screen_signal = NULL;
|
||||
screen_signal = -1;
|
||||
scrn = NULL;
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue