keepIsolateAlive property

bool keepIsolateAlive
getter/setter pair

Whether this NativeCallable keeps its Isolate alive.

By default, NativeCallables keep the Isolate that created them alive until close is called. If keepIsolateAlive is set to false, the isolate may exit even if the NativeCallable isn't closed.

Implementation

external bool keepIsolateAlive;