OnPackageStop

From Onset Developer Wiki
Revision as of 19:29, 30 August 2020 by BlueMountains (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
OnPackageStop

Type: Event
Context: Server & Client
Introduced: v1.0

Description

Package is being stopped. Cleanup your allocated resources here. At this point all timers started by this package have been killed already. Also plugins were notified about the package unload.

Syntax

OnPackageStop()

Example

AddEvent("OnPackageStop", function()

	-- Do some cleanup here

end)

See also