Skip to content

Commit

Permalink
fix: invalidate connection on fatal error
Browse files Browse the repository at this point in the history
  • Loading branch information
drochetti committed Dec 1, 2023
1 parent 57cad55 commit b05b059
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/FalClient/Realtime.swift
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ class WebSocketConnection: NSObject, URLSessionWebSocketDelegate {
}
case let .failure(error):
self?.onError(error)
self?.task = nil
}
}
}
Expand Down

0 comments on commit b05b059

Please sign in to comment.