Skip to content

Commit

Permalink
do not remove children as the scriptVar may still be in used
Browse files Browse the repository at this point in the history
and the destructor of ScriptVar will take care of this anyway
  • Loading branch information
scheffle committed Mar 2, 2024
1 parent d10a879 commit 72c2129
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vstgui/uidescription-scripting/detail/scriptobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ struct ScriptObject
{
if (scriptVar)
{
scriptVar->removeAllChildren ();
scriptVar->release ();
}
}
Expand Down

0 comments on commit 72c2129

Please sign in to comment.