Merge pull request #83809 from raulsntos/dotnet/free-dialogs
C#: Free dialogs when exiting the editor
This commit is contained in:
commit
67941551ca
1 changed files with 6 additions and 0 deletions
|
@ -626,6 +626,12 @@ namespace GodotTools
|
|||
_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.
|
||||
|
|
Loading…
Reference in a new issue