Merge pull request #95307 from mihe/editor-help-use-after-free

Fix use-after-free in `EditorHelp`
This commit is contained in:
Rémi Verschelde 2024-08-09 10:23:55 +02:00
commit d7c8a9f179
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -3024,6 +3024,7 @@ void EditorHelp::update_doc() {
void EditorHelp::cleanup_doc() {
_wait_for_thread();
memdelete(doc);
doc = nullptr;
}
Vector<Pair<String, int>> EditorHelp::get_sections() {