Interface ExtensionUnloadingHandler


  • public interface ExtensionUnloadingHandler
    Extensions can implement this interface and then call Extension.registerUnloadingHandler(ExtensionUnloadingHandler) (ExtensionUnloadingHandler)} to register an extension unload handler. The handler will be notified when an extension is unloaded. Note: Any extensions that start background threads or open system resources (such as files or database connections) should register a handler and terminate threads / close resources when the extension is unloaded.
    • Method Detail

      • extensionUnloaded

        void extensionUnloaded()
        This method is called when the extension is unloaded.