- Timestamp:
- 06/14/13 10:52:43 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/InterpreterV8.cc
r16802 r16833 86 86 // script termination. 87 87 // 88 88 // Here is another good reference for v8, also containing some 89 // good explanations for the meaning of handles, persistent handles 90 // and weak handles: http://create.tpsitulsa.com/wiki/V8_Cookbook 91 // 89 92 // ========================================================================== 90 93 // Simple interface … … 1570 1573 { 1571 1574 fInterruptCallback.Dispose(); 1575 fInterruptCallback.Clear(); 1572 1576 return Undefined(); 1573 1577 } … … 1599 1603 1600 1604 for (auto it=data.begin(); it!=data.end(); it++) 1601 {1602 cout << "|" << it->first << "=" << it->second << "|" << endl;1603 1605 arr->Set(String::New(it->first.c_str()), String::New(it->second.c_str())); 1604 }1605 1606 1606 1607 Handle<Value> args[] = { irq_str, arr, date, usr_str }; … … 2663 2664 // Now we can dispose the persistent interrupt handler 2664 2665 fInterruptCallback.Dispose(); 2666 fInterruptCallback.Clear(); 2665 2667 2666 2668 // Now we can dispose all persistent handles from reverse maps
Note:
See TracChangeset
for help on using the changeset viewer.