Changeset 18383 for trunk/FACT++/src


Ignore:
Timestamp:
11/24/15 13:26:53 (9 years ago)
Author:
Daniela Dorner
Message:
fixed bug in interrupt that made dimserver crash
File:
1 edited

Legend:

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

    r17655 r18383  
    14521452void InterpreterV8::JsHandleEvent(const EventImp &evt, uint64_t cnt, const string &service)
    14531453{
     1454    // FIXME: This blocks service updates, we have to run this
     1455    //        in a dedicated thread.
    14541456    const Locker locker;
    14551457
     
    15201522void InterpreterV8::JsHandleState(const std::string &server, const State &state)
    15211523{
     1524    // FIXME: This blocks service updates, we have to run this
     1525    //        in a dedicated thread.
    15221526    const Locker locker;
    15231527
     
    16261630int InterpreterV8::JsHandleInterrupt(const EventImp &evt)
    16271631{
     1632    // FIXME: This blocks service updates, we have to run this
     1633    //        in a dedicated thread.
    16281634    const Locker locker;
    16291635
    1630     if (fThreadId<0)
     1636    if (fThreadId<0 || fInterruptCallback.IsEmpty())
    16311637        return -42;
    16321638
Note: See TracChangeset for help on using the changeset viewer.