diff options
author | George Hazan <george.hazan@gmail.com> | 2024-10-19 17:22:44 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-10-19 17:22:44 +0300 |
commit | af1fff9cf602bb61539cdc4da9effe9058af26ff (patch) | |
tree | cfc443e98e71ea006f6d8d558c94fcf6efb78e98 | |
parent | e836a46e4e0d1e9bddd4cd46b672ce17fcfd579f (diff) |
fixes #4749 (Pascal plugins are not detected)
-rw-r--r-- | src/mir_app/src/CMPluginBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/CMPluginBase.cpp b/src/mir_app/src/CMPluginBase.cpp index 79bfcbc7ae..d1595c32b6 100644 --- a/src/mir_app/src/CMPluginBase.cpp +++ b/src/mir_app/src/CMPluginBase.cpp @@ -123,7 +123,7 @@ static void wipePluginData(CMPluginBase *pPlugin) EXTERN_C MIR_APP_DLL(void) RegisterPlugin(CMPluginBase *pPlugin)
{
if (pPlugin->getInst() != nullptr)
- g_arPlugins.insert(pPlugin);
+ g_pLastPlugin = pPlugin;
}
// emulates the call of CMPluginBase::~CMPluginBase for Pascal plugins
|