Compartilhar via


JsSerializedScriptUnloadCallback typedef

Called by the runtime when it is finished with all resources related to the script execution. The caller should free the source if loaded, the byte code, and the context at this time.

Syntax

 typedef void (CALLBACK * JsSerializedScriptUnloadCallback)(  
  _In_ JsSourceContext sourceContext  
);  

Parameters

sourceContext
The context passed to JsParseSerializedScriptWithCallback or JsRunSerializedScriptWithCallback.

Remarks

Warning

Requirements

Header: jsrt.h

See Also

Reference (JavaScript Runtime)