1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-08-08 09:42:06 +03:00

resetConnectionCallbacks() util function

Summary: In preparation for split callbacks

Reviewed By: mjoras, lnicco

Differential Revision: D30398849

fbshipit-source-id: 684c289283d0b06b5935fc1b8ab2dcbd126ec0ce
This commit is contained in:
Konstantin Tsoy
2021-08-25 16:14:31 -07:00
committed by Facebook GitHub Bot
parent 06ba2e0a41
commit ee59ae43c6
6 changed files with 12 additions and 8 deletions

View File

@@ -210,7 +210,7 @@ class TestQuicTransport
}
~TestQuicTransport() override {
connCallback_ = nullptr;
resetConnectionCallbacks();
// we need to call close in the derived class.
closeImpl(
std::make_pair(