Plugin not closing correctly?

I’m debugging a plugin that is having issues with closing properly (that stop it starting again if alt+right clicked / deleted + remade / ctrl+r is used on patch window)

while debugging it seems that any breakpoints in the dispose method are not hit during any of the above.

I thought Dispose() was for this purpose, and would always be called when the plugin is destroyed?..

You do implement the IDisposable interface?