lidavidm commented on PR #36517:
URL: https://github.com/apache/arrow/pull/36517#issuecomment-1640875150
It's not clear whether it owns the thread always, I just noticed this:
```
frame #3: 0x000000010f6733e4
libgpr.33.0.0.dylib`grpc_core::Crash(std::__1::basic_string_view<char,
std::__1::char_traits<char> >, grpc_core::SourceLocation) + 186
frame #4: 0x000000010f6746e6 libgpr.33.0.0.dylib`grpc_core::(anonymous
namespace)::ThreadInternalsPosix::Join() + 138
frame #5: 0x000000011046299c
libgrpc++.1.56.2.dylib`grpc_core::Thread::Join() + 24
frame #6: 0x0000000110444ee0
libgrpc++.1.56.2.dylib`grpc::CompletionQueue::ReleaseCallbackAlternativeCQ(grpc::CompletionQueue*)
+ 84
frame #7: 0x000000011043c746
libgrpc++.1.56.2.dylib`grpc::Channel::~Channel() + 58
frame #8: 0x000000011043ebc9
libgrpc++.1.56.2.dylib`std::__1::__shared_ptr_pointer<grpc::Channel*,
std::__1::shared_ptr<grpc::Channel>::__shared_ptr_default_delete<grpc::Channel,
grpc::Channel>, std::__1::allocator<grpc::Channel> >::__on_zero_shared() + 23
frame #9: 0x000000011043ef21
libgrpc++.1.56.2.dylib`std::__1::shared_ptr<grpc::ChannelCredentials>::~shared_ptr()
+ 49
frame #10: 0x0000000111ea89c5
libarrow_flight.1300.0.0.dylib`::~ClientRpc() at grpc_client.cc:69:8
```
so destructing the ClientContext (at least, I assume it's there -
`ClientRpc` is our wrapper around it) appears to call Join() (but only on
macOS?).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]