Commit b927eff
committed
reset waitingHeartbeat flag in Close method
Add missing reset of waitingHeartbeat flag when closing the client.
This prevents stale state from persisting during reconnection attempts,
which was causing abnormal heartbeat behavior after reconnections.
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>1 parent 2ec5682 commit b927eff
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| 224 | + | |
224 | 225 | | |
225 | 226 | | |
226 | 227 | | |
| |||
0 commit comments