Commit be7475d
committed
fix(kotlin-enhanced): do not overwrite status with Error on disconnect
RealtimeClient catch block was setting ConnectionStatus.Error on
CancellationException when disconnect() cancels the connection job.
Rethrow CancellationException so status stays Disconnected after disconnect.
Made-with: Cursor1 parent 1e08d02 commit be7475d
1 file changed
Lines changed: 2 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
0 commit comments