self:destroy

Client

Destroys the webview instance and frees its memory


Syntax

local status = self:destroy()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

Destroy a webview instance
local wv = webview.create()

wv:destroy()

On this page