Skip to content

Commit

Permalink
quic: remove no longer valid CHECK
Browse files Browse the repository at this point in the history
PR-URL: #34247
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
jasnell committed Jul 9, 2020
1 parent 458d243 commit 26493c0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/quic/node_quic_session.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1682,11 +1682,6 @@ void QuicSession::Close(int close_flags) {
listener()->OnSessionClose(error, close_flags);
else
Destroy();

// At this point, the QuicSession should have been destroyed, indicating
// that all cleanup on the JavaScript side has completed and the
// QuicSession::Destroy() method has been called.
CHECK(is_destroyed());
}

// Mark the QuicSession instance destroyed. This will either be invoked
Expand Down

0 comments on commit 26493c0

Please sign in to comment.