You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-28 16:07:14 +00:00
Fix use-after-free in EditorHelp
This commit is contained in:
@@ -3024,6 +3024,7 @@ void EditorHelp::update_doc() {
|
|||||||
void EditorHelp::cleanup_doc() {
|
void EditorHelp::cleanup_doc() {
|
||||||
_wait_for_thread();
|
_wait_for_thread();
|
||||||
memdelete(doc);
|
memdelete(doc);
|
||||||
|
doc = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
Vector<Pair<String, int>> EditorHelp::get_sections() {
|
Vector<Pair<String, int>> EditorHelp::get_sections() {
|
||||||
|
|||||||
Reference in New Issue
Block a user