|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
DMDScript - Walter : 2 questions about your JavaScript engine
I've been using your JS engine for a while and have couple questions. Can you please give me some hints? 1. I've a C++ object derived from Dobject exposed to JS. When the program ends, I've tried to use mem.fullcollect() and the object seems to be deleted but the destructor doesn't get called. Therefore a memory leak occors if I need to free some momory in the destructor. 2. I've loaded JS engine in thread A and tried to call a JS function from thread B it seems like the engine doesn't like it since the thread context is different. Is there a way to switch JS calling thread context then make the call across thread successfully? Thanks in advance, adzheng Nov 04 2005
"adzheng" <adzheng_member pathlink.com> wrote in message news:dkgro6$3g5$1 digitaldaemon.com...I've been using your JS engine for a while and have couple questions. Can Nov 05 2005
|