unload

open suspend fun unload()

If you need to, override this function and use it to clean up your extension when it's unloaded.

You do not need to override this to clean up commands and event handlers, that's handled for you.