From 26493c02a26270cfbdd0cf3e46a7eaf649a7874a Mon Sep 17 00:00:00 2001 From: James M Snell Date: Wed, 8 Jul 2020 11:41:19 -0700 Subject: [PATCH] quic: remove no longer valid CHECK PR-URL: https://github.com/nodejs/node/pull/34247 Reviewed-By: Anna Henningsen --- src/quic/node_quic_session.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/quic/node_quic_session.cc b/src/quic/node_quic_session.cc index 09f563c42b275c..b47321e222e9c1 100644 --- a/src/quic/node_quic_session.cc +++ b/src/quic/node_quic_session.cc @@ -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