diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp index 637c39c8ec3..683e4e5cdaa 100644 --- a/editor/editor_help.cpp +++ b/editor/editor_help.cpp @@ -3024,6 +3024,7 @@ void EditorHelp::update_doc() { void EditorHelp::cleanup_doc() { _wait_for_thread(); memdelete(doc); + doc = nullptr; } Vector> EditorHelp::get_sections() {