isTerminating property

bool isTerminating
getter/setter pair

Whether or not the DAP is terminating.

When set to true, some requests that return "Service Disappeared" errors will be caught and dropped as these are expected if the process is terminating.

This flag may be set by incoming requests from the client (terminateRequest/disconnectRequest) or when a process terminates, or the VM Service disconnects.

Implementation

bool isTerminating = false;