cleanupStreams method
Closes all connected streams
Implementation
Future<void> cleanupStreams() async {
for (var stream in openStreams.values) {
stream.close();
}
openStreams.clear();
}
Closes all connected streams
Future<void> cleanupStreams() async {
for (var stream in openStreams.values) {
stream.close();
}
openStreams.clear();
}