Commit e350b86
[fix] Do not unconditionally set the ready state to -2
If we're already closing, then we shouldn't move into the new -2 ready
state (i.e. closing-because-the-remote-end-closed). We're already
closing, we shouldn't go back to a state that allows sending another
close frame.1 parent 0c9705a commit e350b86
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
940 | 940 | | |
941 | 941 | | |
942 | 942 | | |
943 | | - | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
944 | 946 | | |
945 | 947 | | |
946 | 948 | | |
| |||
0 commit comments