diff --git a/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs b/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs index 029f5ed..a45d191 100644 --- a/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs +++ b/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs @@ -116,6 +116,7 @@ public partial class SharpIdeCodeEdit : CodeEdit public override void _ExitTree() { _currentFile?.FileContentsChangedExternally.Unsubscribe(OnFileChangedExternally); + GlobalEvents.Instance.SolutionAltered.Unsubscribe(OnSolutionAltered); } private void OnBreakpointToggled(long line)