Skip to content

Commit

Permalink
Merge pull request #83809 from raulsntos/dotnet/free-dialogs
Browse files Browse the repository at this point in the history
C#: Free dialogs when exiting the editor
  • Loading branch information
akien-mga committed Oct 30, 2023
2 parents 55fca13 + 48edcc3 commit 6794155
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/mono/editor/GodotTools/GodotTools/GodotSharpEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,12 @@ public override void _DisablePlugin()
_editorSettings.SettingsChanged -= OnSettingsChanged;
}

public override void _ExitTree()
{
_errorDialog?.QueueFree();
_confirmCreateSlnDialog?.QueueFree();
}

private void OnSettingsChanged()
{
// We want to force NoConsoleLogging to true when the VerbosityLevel is at Detailed or above.
Expand Down

0 comments on commit 6794155

Please sign in to comment.