OnPackageStop

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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