Skip to content

Commit

Permalink
複数の接続がある場合にちゃんと再読込できない不具合を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
shiosyakeyakini-info committed Oct 24, 2024
1 parent 10aabc4 commit 00a2300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/services/streaming_service_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,9 @@ class StreamingService implements StreamingController, WebSocketController {
_activeStreams--;
if (_activeStreams == 0) {
_subNotes.clear();
final lock = await _connectWebSocketMutex.acquire();
if (_connections.isEmpty) {
log("attempt $host streaming closed...");
final lock = await _connectWebSocketMutex.acquire();
try {
await _close();
} finally {
Expand Down

0 comments on commit 00a2300

Please sign in to comment.