MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / unload_editor_addons

Method unload_editor_addons

editor/editor_node.cpp:3759–3767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3757}
3758
3759void EditorNode::unload_editor_addons() {
3760 for (const KeyValue<String, EditorPlugin *> &E : addon_name_to_plugin) {
3761 print_verbose(vformat("Unloading addon: %s", E.key));
3762 remove_editor_plugin(E.value, false);
3763 memdelete(E.value);
3764 }
3765
3766 addon_name_to_plugin.clear();
3767}
3768
3769void EditorNode::_discard_changes(const String &p_str) {
3770 switch (current_menu_option) {

Callers 1

iterationMethod · 0.80

Calls 3

vformatFunction · 0.85
memdeleteFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected