Instance Method インスタンスメソッド

finalizeForWebScript()

Performs cleanup when the scripting environment is reset.

Declaration 宣言

func finalizeForWebScript()

Discussion 解説

This method is invoked on objects exposed to the scripting environment just before the scripting environment is reset. After invocation, the receiving object will no longer be referenced by the scripting environment. Further references to WebScriptObject instances created by the exposed object will be invalid and may produce unpredictable results.