From 0854c2339bfcbb8363fc822b493dae1a09b4e079 Mon Sep 17 00:00:00 2001 From: Zach Vinless Date: Sun, 22 Jan 2017 15:21:36 -0800 Subject: [PATCH] Added back necessary DestroyImmediate call --- Assets/Fungus/Scripts/Editor/FlowchartWindow.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs b/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs index 896e885b..089423a9 100644 --- a/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs +++ b/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs @@ -472,6 +472,7 @@ namespace Fungus.EditorUtils FlowchartEditor flowchartEditor = Editor.CreateEditor (flowchart) as FlowchartEditor; flowchartEditor.DrawVariablesGUI(); + DestroyImmediate(flowchartEditor); Rect variableWindowRect = GUILayoutUtility.GetLastRect(); if (flowchart.VariablesExpanded && flowchart.Variables.Count > 0)