handleAsyncUpdate crash

Quickly click the aax plug-in in protools, and the plug-in editor will frequently execute the constructor and destructor, causing a crash problem. Has anyone encountered a similar situation? Thanks!

Are you calling a lambda on an async callback? If you are doing something like callAsync(this{update();}), you could try using a Component::SafePointer safeThis {this} instead.

There is no callback method manually called in my code, but the void Slider::addListener (Listener* l) { pimpl->listeners.add (l); } method is called when creating the slider.

@Kelsen do you call Slider::removeListener before destroying the slider? For every call to addListener you should always have a corresponding call to removeListener.