Open GoogleCodeExporter opened 9 years ago
The thing is we don't really have such "end" point even in the internal backend
code. plv8 itself had some issue regarding "persistent" handle management and
I was looking for a hooking point where multi-function call ends but no luck.
We have a hook point at the end of transaction but it's not clear if you want
it or end of the session across multiple transactions.
1) The above is pretty much the answer. If you know about linux shared library
mechanism, it may or may not have "unload" hook though "load" hook is designed.
2) Yes, the portal memory is a process-local so if you are ok to leave it
alone, it's fine. When you disconnect from the session, it goes away. plv8
does not have much power outside of function anyway.
Original comment by umi.tan...@gmail.com
on 15 Jan 2014 at 5:02
Original issue reported on code.google.com by
rnga...@gmail.com
on 2 Jan 2014 at 10:46