Changeset 18839
- Timestamp:
- 04/19/17 14:47:20 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/InterpreterV8.cc
r18833 r18839 377 377 if (timeout) 378 378 code += "var t = new Date();"; 379 code += "while (1)" 379 code += "var s;" 380 "while (1)" 380 381 "{" 381 " vars = dim.state(name);"382 "s = dim.state(name);" 382 383 "if(!s)throw new Error('Waiting for state "+arg1+" of server "+arg0+" failed.');"; 383 384 if (isNot) … … 393 394 "}"; 394 395 if (timeout) 395 code += "if(ms>0)throw new Error('Waiting for state "+arg1+" of server "+arg0+"timed out.');";396 code += "return false;"396 code += "if(ms>0)throw new Error('Waiting for state "+arg1+" of server "+arg0+" ['+"+index+"+'] timed out.');"; 397 code += "return false;" 397 398 "})('"+name+"',"+arg1; 398 399 if (timeout)
Note:
See TracChangeset
for help on using the changeset viewer.