mirror of
https://github.com/godotengine/godot
synced 2024-09-05 11:28:29 +00:00
C#: Free dialogs when exiting the editor
This commit is contained in:
parent
f8818f85e6
commit
48edcc3b34
|
@ -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