Skip to content
Snippets Groups Projects
Commit d259ec44 authored by Mirko Wächter's avatar Mirko Wächter
Browse files

fix: memory leak if selection was used.

parent eb215a13
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,7 @@ namespace VirtualRobot
{
if (selection)
{
selection->deselectAll();
selection->unref();
}
if (visuRoot)
......
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