| 1116 | |
| 1117 | |
| 1118 | void 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 | |
| 1132 | void PluginManager::unregisterModule(IPluginModule* cleanup) |
| 1133 | { |
nothing calls this directly
no test coverage detected