-- @/lua/ge/extensions/editor/main.lua:213
local function unloadEditorExtension(extName)
for i, name in ipairs(M.extensionNames) do
if extName == name then
table.remove(M.extensionNames, i)
if extensions[name].onEditorDeactivated then
extensions[name].onEditorDeactivated()
end
if extensions[name].onEditorShutdown then
extensions[name].onEditorShutdown()
end
extensions.unload(name)
break
end
end
end