Merge pull request #95307 from mihe/editor-help-use-after-free
Fix use-after-free in `EditorHelp`
This commit is contained in:
commit
d7c8a9f179
1 changed files with 1 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue