Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ final class StreamStorage: @unchecked Sendable {
private func finishedStream(id: String) {
lock.lock()
defer { lock.unlock() }
guard let task = locked_streams[id] else { return }
guard locked_streams[id] != nil else { return }
locked_streams.removeValue(forKey: id)
print("Finished stream \(id)")
}
Expand Down