[Lldb-commits] [PATCH] Add Initialize/Terminate method to Platform base plugin
tberghammer at google.com
Thu Feb 12 07:30:31 PST 2015
Hi vharron, clayborg,
Add Initialize/Terminate method to Platform base plugin
The platform base plugin holds a smart pointer to each platform object created in a static variable what cause the platform destructors called only on program exit when other static variables are already destructed. With this change the destructors are called by lldb_private::Terminate() before the exit of the program.
+ Fix DebuggerRefCount handling in ScriptInterpreterPython
The issue pop out during the investigation of a resource leak (port forwards) in platform android caused by the fact that a static variable in Socket.cpp is destructed earlier then an instance of PlatformAndroid.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9422 bytes
Desc: not available
More information about the lldb-commits