fix: in simulation dead connections need to stop receiving traffic after 1 second
This commit is contained in:
parent
3c2d849c8d
commit
57fdbbf975
|
@ -293,6 +293,7 @@ private:
|
|||
void closeInternal() {
|
||||
if(peer) {
|
||||
peer->peerClosed();
|
||||
stopReceive = delay(1.0);
|
||||
}
|
||||
leakedConnectionTracker.cancel();
|
||||
peer.clear();
|
||||
|
|
Loading…
Reference in New Issue