Changeset 14639 for trunk/FACT++
- Timestamp:
- 11/17/12 15:24:58 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/InterpreterV8.cc
r14638 r14639 140 140 const bool rc = ms==0 || !ExecuteInternal("dim.sleep("+to_string(ms)+");").IsEmpty(); 141 141 if (rc) 142 { 143 Handle<Value> args[] = { }; 144 func->Call(func, 0, args); 145 } 142 func->Call(func, 0, NULL); 146 143 147 144 func.Dispose(); … … 1038 1035 if (!HandleException(exception, "Service.onchange")) 1039 1036 V8::TerminateExecution(fThreadId); 1040 //Terminate();1041 1037 1042 1038 if (ret->IsNativeError()) … … 1044 1040 JsException(service+".onchange callback - "+*String::Utf8Value(ret)); 1045 1041 V8::TerminateExecution(fThreadId); 1046 //Terminate(); 1047 } 1048 1049 //if (ret->IsUndefined() || ret->IsNativeError()/* || exception.HasCaught()*/) 1042 } 1050 1043 } 1051 1044 … … 1115 1108 if (!HandleException(exception, "dim.onchange")) 1116 1109 V8::TerminateExecution(fThreadId); 1117 //Terminate();1118 1110 } 1119 1111 … … 1861 1853 Locker locker; 1862 1854 V8::TerminateExecution(This->fThreadId); 1863 //This->Terminate();1864 1855 } 1865 1856
Note:
See TracChangeset
for help on using the changeset viewer.