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

Method registerModule

src/yvalve/PluginManager.cpp:1118–1130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1116
1117
1118void PluginManager::registerModule(IPluginModule* cleanup)
1119{
1120 MutexLockGuard g(plugins->mutex, FB_FUNCTION);
1121
1122 if (!current)
1123 {
1124 // not good time to call this function - ignore request
1125 gds__log("Unexpected call to set module cleanup - ignored\n");
1126 return;
1127 }
1128
1129 current->setCleanup(cleanup);
1130}
1131
1132void PluginManager::unregisterModule(IPluginModule* cleanup)
1133{

Callers

nothing calls this directly

Calls 1

setCleanupMethod · 0.45

Tested by

no test coverage detected