| 1297 | static ScopedPointer<PluginExporter> sPlugin; |
| 1298 | |
| 1299 | static struct Cleanup { |
| 1300 | std::vector<ExtendedAEffect*> effects; |
| 1301 | |
| 1302 | ~Cleanup() |
| 1303 | { |
| 1304 | for (std::vector<ExtendedAEffect*>::iterator it = effects.begin(), end = effects.end(); it != end; ++it) |
| 1305 | { |
| 1306 | ExtendedAEffect* const exteffect = *it; |
| 1307 | delete exteffect->pluginPtr; |
| 1308 | delete exteffect; |
| 1309 | } |
| 1310 | |
| 1311 | sPlugin = nullptr; |
| 1312 | } |
| 1313 | } sCleanup; |
| 1314 | |
| 1315 | // -------------------------------------------------------------------------------------------------------------------- |
| 1316 |
nothing calls this directly
no outgoing calls
no test coverage detected