Vital.sandbox
Webview

self:destroy

Client

Destroys the webview instance and frees its memory


Syntax

local status = self:destroy()

Parameters

TypeNameDescription

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

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

browser:destroy()

On this page