onDisable

abstract fun onDisable(context: PluginContext)

Called when the plugin is being disabled or unloaded.

Implementations should cancel tasks and release resources.