This is the API docs for LemonStand V1, which has been discontinued. LemonStand is now a cloud based platform, available at lemonstand.com.

LemonStand API

core:onUninitialize event

Triggered by /modules/backend/init/custom_helpers.php
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onUninitialize()
Triggered when the script execution finishes. The event is fired even if the exit() or die() function has been called. Usage example:
public function subscribeEvents()
{
  Backend::$events->addEvent('core:onUninitialize', $this, 'core_uninitialize');
}

public function core_uninitialize()
{
  // Do something
}