Fix crash when rapid firing command line commands

Change-Id: I0caaa51720fe3608b8c4cb02f046afb3cbaa54f9
This commit is contained in:
Ethan Yonker
2014-10-22 10:40:40 -05:00
parent b603345e32
commit ffbd6ffc21

View File

@@ -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.