Add drag cleanup on destroy.

This commit is contained in:
Chandler Cox
2024-01-23 08:59:27 -06:00
parent f306d34a6e
commit b85f471fcb
3 changed files with 3 additions and 0 deletions

View File

@@ -814,6 +814,7 @@ namespace FlaxEditor.SceneGraph.GUI
_dragScripts = null;
_dragAssets = null;
_dragActorType = null;
_dragScriptItems = null;
_dragHandlers?.Clear();
_dragHandlers = null;
_highlights = null;