Fix crash when rapid firing command line commands
Change-Id: I0caaa51720fe3608b8c4cb02f046afb3cbaa54f9
This commit is contained in:
@@ -936,6 +936,10 @@ extern "C" int gui_console_only(void)
|
||||
return -1;
|
||||
|
||||
gGuiConsoleTerminate = 0;
|
||||
|
||||
if (gGuiConsoleRunning)
|
||||
return 0;
|
||||
|
||||
gGuiConsoleRunning = 1;
|
||||
|
||||
// Start by spinning off an input handler.
|
||||
|
||||
Reference in New Issue
Block a user