If your stream is finished, either way should be fine. To be on the safe side, destroy the reader/writer objects first and Client/ServerContext afterwards.
On Thursday, September 7, 2017 at 10:59:47 AM UTC-7, yihao yang wrote: > > Hi, all, > > I have a question about the destruction order: > 1. For ClientContext and ClientAsyncReaderWriter. Which one should be > destructed first when exit? > 1. For ServerContext and ServerAsyncReaderWriter. Which one should be > destructed first when exit? > > Any one can help me ? > > Thanks, > Yihao > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/fb28417a-4c8e-4f1f-9ebd-598b0bcc5cec%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
