mirror of
https://github.com/godotengine/godot.git
synced 2024-09-20 14:32:42 +00:00
Fix use-after-free in EditorHelp
This commit is contained in:
parent
739019e4e4
commit
6435112e97
|
@ -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 New Issue
Block a user