Skip to content
Snippets Groups Projects
Commit b31faa1f authored by Philippe Canal's avatar Philippe Canal
Browse files

Fix ROOT-5284 which was due to a unusual setup (in TParallelCoord) leading to only partial cleanup.

In some case, for example TParallelCoord, a list (the pad's list of
primitives) will contain both the container and the containees (the
TParallelCoorVar) but if the Clear is being called from the destructor
of the container of this list, one of the first thing done will be the
remove the container (the pad) for the list (of Primitives of the
canvas) that was connecting it (indirectly) to the list of cleanups.

So in Clear and Delete, we temporarily add each list and TObjArray to
the cleanup list and remove it later.
parent 98d46091
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment