Statically protect Object::cast_to for unrelated Object types.
Fix a handful of bugs associated with it.
This commit is contained in:
@ -645,7 +645,7 @@ EditorExportPlatform::ExportNotifier::~ExportNotifier() {
|
||||
export_plugins.write[i]->_export_end();
|
||||
}
|
||||
export_plugins.write[i]->_export_end_clear();
|
||||
export_plugins.write[i]->set_export_preset(Ref<EditorExportPlugin>());
|
||||
export_plugins.write[i]->set_export_preset(Ref<EditorExportPreset>());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user