Ignore:
Timestamp:
11/17/12 15:24:58 (12 years ago)
Author:
tbretz
Message:
Some code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/InterpreterV8.cc

    r14638 r14639  
    140140    const bool rc = ms==0 || !ExecuteInternal("dim.sleep("+to_string(ms)+");").IsEmpty();
    141141    if (rc)
    142     {
    143         Handle<Value> args[] = {  };
    144         func->Call(func, 0, args);
    145     }
     142        func->Call(func, 0, NULL);
    146143
    147144    func.Dispose();
     
    10381035    if (!HandleException(exception, "Service.onchange"))
    10391036        V8::TerminateExecution(fThreadId);
    1040     //Terminate();
    10411037
    10421038    if (ret->IsNativeError())
     
    10441040        JsException(service+".onchange callback - "+*String::Utf8Value(ret));
    10451041        V8::TerminateExecution(fThreadId);
    1046 //Terminate();
    1047     }
    1048 
    1049     //if (ret->IsUndefined() || ret->IsNativeError()/* || exception.HasCaught()*/)
     1042    }
    10501043}
    10511044
     
    11151108    if (!HandleException(exception, "dim.onchange"))
    11161109        V8::TerminateExecution(fThreadId);
    1117     //Terminate();
    11181110}
    11191111
     
    18611853    Locker locker;
    18621854    V8::TerminateExecution(This->fThreadId);
    1863     //This->Terminate();
    18641855}
    18651856
Note: See TracChangeset for help on using the changeset viewer.