Skip to main content

node-tracker.coreplugin.deactivateplugin

Home > @snowplow/node-tracker > CorePlugin > deactivatePlugin

CorePlugin.deactivatePlugin property

Called when the tracker is being destroyed. Should be used to clean up any resources or listeners that the plugin has created.

Signature:
deactivatePlugin?: (core: TrackerCore) => void;