1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Destroy EditorFilesystem/EditorSettings on test shutdown

Otherwise asan complains if a test tries to use these.

Split off from https://github.com/godotengine/godot/pull/98909
This commit is contained in:
demolke
2024-11-29 21:22:49 +01:00
parent 0f20e67d8d
commit 35bb827d10
3 changed files with 8 additions and 0 deletions

View File

@@ -105,6 +105,7 @@ void EditorPaths::create() {
void EditorPaths::free() {
ERR_FAIL_NULL(singleton);
memdelete(singleton);
singleton = nullptr;
}
void EditorPaths::_bind_methods() {