stop method

Future<void> stop()

Implementation

Future<void> stop() async {
  for (final c in _clients.toList()) {
    await c.close();
  }
  await _socket?.close();
  await db.flush();
}