Fix a stupid mistake in the headless timeout.

Although, still need to figure out why it gets corrupted.
This commit is contained in:
Unknown W. Brackets committed 2013-12-06 21:18:26 -08:00
1 parent 6d733213c7
commit 83dd3c74d6
1 file changed
+2 -1
+2 -1
View File
@@ -146,7 +146,8 @@ bool RunAutoTest(HeadlessHost *headlessHost, CoreParameter &coreParameter, bool
bool passed = true;
// 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;
static double deadline;
deadline = time_now() + timeout;
coreState = CORE_RUNNING;
while (coreState == CORE_RUNNING)