Skip to main content

shutdown_engine

Function shutdown_engine 

Source
pub fn shutdown_engine()
Expand description

Shut down the SpiderMonkey engine entirely (process exit only).

Calls JS_ShutDown to clean up SpiderMonkey’s process-wide C++ state. After this, no new Runtime/JSContext can be created on any thread. Should only be called at process exit.