fix: windows unsubsribe loaded plugin not allowed

This commit is contained in:
peachismomo
2026-09-18 16:07:25 +08:00
parent db91d4b630
commit 2bfab589ee
+2
View File
@@ -2042,6 +2042,8 @@ bool PluginManager::delete_and_unsubscribe_cloud_plugin(const std::string& plugi
return false;
}
unload_plugin(plugin_key);
if (!m_cloud_service.request_cloud_unsubscribe(descriptor, error)) {
set_plugin_error(plugin_key, error);
return false;