destroy() (since version 2.2.0)

Destroy the core instance to clear memory etc.

Syntax destroy()

Return Type undefined

Description

Destroy the core instance to clear memory etc. This will reset the core instance first, then remove all DOM event handlers and then remove it from the oCanvas.canvasList list.

Return Value

undefined. Returns nothing.