We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de5a3ff commit f505f7aCopy full SHA for f505f7a
src/quic/session.cc
@@ -2084,9 +2084,9 @@ void Session::SelectPreferredAddress(
2084
bool Session::SendConnectionClose() {
2085
CHECK(!NgCallbackScope::InNgCallbackScope(this));
2086
2087
- // Do not send any frames at all if we're in the draining period
2088
- // or in the middle of a silent close
2089
- if (is_in_draining_period() || state_->silent_close)
+ // Do not send any frames at all if we're in the draining period,
+ // in the middle of a silent close or already destroyed.
+ if (is_in_draining_period() || state_->silent_close || is_destroyed())
2090
return true;
2091
2092
// The specific handling of connection close varies for client
0 commit comments