- added FIXME note about deletion of thread objects in DynamicProcess::remove_thread()
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@663 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
409047a225
commit
bfe8f3456e
|
@ -68,6 +68,8 @@ DynamicProcess::remove_thread(Thread* thread)
|
||||||
if(it != _dynamic_threads.end())
|
if(it != _dynamic_threads.end())
|
||||||
{
|
{
|
||||||
_dynamic_threads.erase(it);
|
_dynamic_threads.erase(it);
|
||||||
|
// FIXME remove me and leave the responsibility for deletion to the caller
|
||||||
|
// (which is?)
|
||||||
delete *it;
|
delete *it;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue