MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / releasePlugin

Method releasePlugin

src/yvalve/PluginManager.cpp:1172–1191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1170
1171
1172void PluginManager::releasePlugin(IPluginBase* plugin)
1173{
1174 IReferenceCounted* parent = plugin->getOwner();
1175
1176 if (plugin->release() == 0)
1177 {
1178 ///fb_assert(parent);
1179 if (parent)
1180 {
1181 parent->release();
1182
1183 MutexLockGuard g(plugins->mutex, FB_FUNCTION);
1184 if (plugins->wakeIt)
1185 {
1186 plugins->wakeIt->release();
1187 plugins->wakeIt = NULL;
1188 }
1189 }
1190 }
1191}
1192
1193
1194IConfig* PluginManager::getConfig(CheckStatusWrapper* status, const char* filename)

Callers 15

~rem_portMethod · 0.45
~CryptKeyCallbackMethod · 0.45
~BurpCryptMethod · 0.45
shutdownMethod · 0.45
lockAndReadHeaderMethod · 0.45
operator()Method · 0.45
closeAttachmentMethod · 0.45
getEngineMethod · 0.45
~UserManagementMethod · 0.45
commitMethod · 0.45
~FactoriesMethod · 0.45

Calls 2

getOwnerMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected