You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +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:
@@ -370,6 +370,9 @@ struct GodotTestCaseListener : public doctest::IReporter {
|
||||
if (EditorSettings::get_singleton()) {
|
||||
EditorSettings::destroy();
|
||||
}
|
||||
if (EditorPaths::get_singleton()) {
|
||||
EditorPaths::free();
|
||||
}
|
||||
#endif // TOOLS_ENABLED
|
||||
|
||||
Engine::get_singleton()->set_editor_hint(false);
|
||||
|
||||
Reference in New Issue
Block a user