[][src]Function rusty_v8::V8::dispose

pub unsafe fn dispose() -> bool

Releases any resources used by v8 and stops any utility threads that may be running. Note that disposing v8 is permanent, it cannot be reinitialized.

It should generally not be necessary to dispose v8 before exiting a process, this should happen automatically. It is only necessary to use if the process needs the resources taken up by v8.

Safety

Calling this function before completely disposing all isolates will lead to a crash.