C#: Free dialogs when exiting the editor
This commit is contained in:
parent
f8818f85e6
commit
48edcc3b34
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