| 61 | } |
| 62 | |
| 63 | PluginMemory::~PluginMemory() |
| 64 | { |
| 65 | if (_imp->unregisterOnExit) { |
| 66 | EffectInstancePtr e = _imp->effect.lock(); |
| 67 | |
| 68 | if (e) { |
| 69 | e->removePluginMemoryPointer(this); |
| 70 | } |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | void |
| 75 | PluginMemory::setUnregisterOnDestructor(bool unregister) |
nothing calls this directly
no test coverage detected