stop method

Future<void> stop()

Stop the server

Implementation

Future<void> stop() async {
  try {
    await _server?.close(force: true);
    _server = null;
    _fileCache.clear();
    debugPrint('🛑 Album art server stopped');
  } catch (e) {
    debugPrint('❌ Error stopping server: $e');
  }
}