mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 23:23:04 +01:00
Avoid recursive locking of plugins list mutex. This fixed deadlock at PluginSet::next.
This commit is contained in:
parent
b26306977f
commit
ee92f30f09
@ -1088,8 +1088,6 @@ IPluginSet* PluginManager::getPlugins(CheckStatusWrapper* status, unsigned int i
|
||||
static InitMutex<BuiltinRegister> registerBuiltinPlugins("RegisterBuiltinPlugins");
|
||||
registerBuiltinPlugins.init();
|
||||
|
||||
MutexLockGuard g(plugins->mutex, FB_FUNCTION);
|
||||
|
||||
IPluginSet* rc = FB_NEW PluginSet(interfaceType, namesList, firebirdConf);
|
||||
rc->addRef();
|
||||
return rc;
|
||||
|
Loading…
Reference in New Issue
Block a user