Changeset 14572 for trunk/FACT++


Ignore:
Timestamp:
11/06/12 13:49:43 (12 years ago)
Author:
tbretz
Message:
Allow double subscription to a service.
File:
1 edited

Legend:

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

    r14568 r14572  
    10911091    const String::Utf8Value str(args[0]);
    10921092
     1093    const auto it = fReverseMap.find(*str);
     1094    if (it!=fReverseMap.end())
     1095        return handle_scope.Close(it->second);
     1096
    10931097    void *ptr = JsSubscribe(*str);
    10941098    if (ptr==0)
     
    11191123    Locker locker;
    11201124    fThreadId = V8::GetCurrentThreadId();
     1125
     1126    JsPrint(string("JavaScript V8 ")+V8::GetVersion());
    11211127
    11221128    JsLoad(filename);
Note: See TracChangeset for help on using the changeset viewer.