commit | ffbd6ffc217d1a1679a60de34dc2ca7510897fd3 | [log] [tgz] |
---|---|---|
author | Ethan Yonker <dees_troy@teamw.in> | Wed Oct 22 10:40:40 2014 -0500 |
committer | Ethan Yonker <dees_troy@teamw.in> | Wed Oct 22 10:48:16 2014 -0500 |
tree | e06e86d23458cbe8e6e01e9e4e08098f12221117 | |
parent | b603345e32ab2b3eb5ecf58d2796829b056a456d [diff] |
Fix crash when rapid firing command line commands Change-Id: I0caaa51720fe3608b8c4cb02f046afb3cbaa54f9
diff --git a/gui/gui.cpp b/gui/gui.cpp index 8006339..2c6418e 100644 --- a/gui/gui.cpp +++ b/gui/gui.cpp
@@ -936,6 +936,10 @@ return -1; gGuiConsoleTerminate = 0; + + if (gGuiConsoleRunning) + return 0; + gGuiConsoleRunning = 1; // Start by spinning off an input handler.