VST shutdown code?

I can't seem to find a method I can override to do some cleaning after the host has requested to close my VST. Is there even such method? 


If you can't do it in your AudioProcessor's destructor, the only other thing I can think of is to use AudioProcessor::releaseResources() - but that will clean up every time that playback finishes.

Try using a SharedResourcePointer?

SharedResourcePointer is amazing.