Merge pull request #23276 from grpc/cfstream-queue-release

Release dispatch queue on CFStreamHandle destroy
reviewable/pr22951/r14^2
Muxi Yan 4 years ago committed by GitHub
commit 38e225d78d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/core/lib/iomgr/cfstream_handle.cc

@ -156,6 +156,7 @@ CFStreamHandle::~CFStreamHandle() {
open_event_.DestroyEvent(); open_event_.DestroyEvent();
read_event_.DestroyEvent(); read_event_.DestroyEvent();
write_event_.DestroyEvent(); write_event_.DestroyEvent();
dispatch_release(dispatch_queue_);
} }
void CFStreamHandle::NotifyOnOpen(grpc_closure* closure) { void CFStreamHandle::NotifyOnOpen(grpc_closure* closure) {

Loading…
Cancel
Save