unsubscribe OnSolutionAltered

This commit is contained in:
Matt Parker
2025-10-19 13:16:46 +10:00
parent 5bd689fa92
commit ce4dbb10f1

View File

@@ -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)