[][src]Function dart_sys::Dart_KillIsolate

pub unsafe extern "C" fn Dart_KillIsolate(isolate: Dart_Isolate)

Kills the given isolate.

This function has the same effect as dart:isolate's Isolate.kill(priority:immediate). It can interrupt ordinary Dart code but not native code. If the isolate is in the middle of a long running native function, the isolate will not be killed until control returns to Dart.

Does not require a current isolate. It is safe to kill the current isolate if there is one.