shutdownDebugee method

  1. @nonVirtual
Future<void> shutdownDebugee()

Shuts down/detaches from the debugee and cleans up.

This is called by disconnectRequest and terminateRequest but may also be called if the client just disconnects from the server without calling either.

This method must tolerate being called multiple times.

Implementation

@nonVirtual
Future<void> shutdownDebugee() async {
  await _dds?.shutdown();
  _dds = null;
}