dispose method

  1. @override
Future<void> dispose()
override

Releases any resources the command holds (e.g. an HTTP client / open sockets), so they do not keep the process alive after the session ends. Called by LocalCommandRegistry.dispose; the default is a no-op.

Implementation

@override
Future<void> dispose() async => _provider.close();