Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 306912b

Browse files
authored
Merge pull request #21 from jianjunz/signal
Signal before return.
2 parents 4fda6ee + 5d10397 commit 306912b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

quic_transport/impl/quic_transport_owt_client_impl.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,15 @@ void QuicTransportOwtClientImpl::ConnectOnCurrentThread(
129129
void QuicTransportOwtClientImpl::CloseOnCurrentThread(
130130
base::WaitableEvent* event) {
131131
if (client_ == nullptr) {
132+
event->Signal();
132133
return;
133134
}
134135
if (client_->session() == nullptr) {
136+
event->Signal();
135137
return;
136138
}
137139
if (client_->session()->connection() == nullptr) {
140+
event->Signal();
138141
return;
139142
}
140143
CHECK(client_);

0 commit comments

Comments
 (0)