Workaround random headless timeouts on Android/etc.

Seems like we have stack corruption, so probably it's not that XMM etc.
need to be saved.  Not sure what exactly is up.
This commit is contained in:
Unknown W. Brackets committed 2013-11-23 10:42:28 -08:00
1 parent 2623f6bfe2
commit f1f87e7b6f
1 file changed
+3 -1
+3 -1
View File
@@ -143,7 +143,9 @@ bool RunAutoTest(HeadlessHost *headlessHost, CoreParameter &coreParameter, bool
time_update();
bool passed = true;
double deadline = time_now() + timeout;
// TODO: We must have some kind of stack overflow or we're not following the ABI right.
// This gets trashed if it's not static.
static double deadline = time_now() + timeout;
coreState = CORE_RUNNING;
while (coreState == CORE_RUNNING)