keepIsolateAlive property

bool keepIsolateAlive
getter/setter pair

Whether this RawReceivePort keeps its Isolate alive.

By default, receive ports keep the Isolate that created them alive until close is called. If keepIsolateAlive is set to false, the isolate may close while the port is still open. The port is closed when the isolate closes, and further messages sent by the sendPort are ignored.

Implementation

abstract bool keepIsolateAlive;