mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-08-08 09:42:06 +03:00
onStreamPreReaped
Summary: Move the callback to before the stream is destroyed. Reviewed By: jbeshay Differential Revision: D52127833 fbshipit-source-id: 1a9dbcf9ad92dbdb4e15409a418307dc6852b091
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9285422f2a
commit
f7a59e8465
@@ -1743,7 +1743,7 @@ TEST_P(QuicTransportImplTestBase, CloseStreamAfterReadError) {
|
||||
transport->closeStream(stream1);
|
||||
|
||||
EXPECT_CALL(readCb1, readError(stream1, IsError(LocalErrorCode::NO_ERROR)));
|
||||
EXPECT_CALL(connCallback, onStreamStateReaped(stream1));
|
||||
EXPECT_CALL(connCallback, onStreamPreReaped(stream1));
|
||||
transport->driveReadCallbacks();
|
||||
|
||||
EXPECT_FALSE(transport->transportConn->streamManager->streamExists(stream1));
|
||||
|
Reference in New Issue
Block a user