Commit d50098f
authored
s2a: Remove channel.awaitTermination() from S2A ChannelResource
awaitTermination() was always timing out, because when the channel
terminates it releases shared resources from a transport thread.
Releasing the reference count was blocked on the same lock that the
close() thread is holding. So it essentially deadlocked, except one
thread would eventually give up.
b/3887691431 parent 7cb8b68 commit d50098f
File tree
1 file changed
+0
-13
lines changed- s2a/src/main/java/io/grpc/s2a/internal/channel
1 file changed
+0
-13
lines changedLines changed: 0 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 27 | | |
31 | 28 | | |
32 | 29 | | |
| |||
50 | 47 | | |
51 | 48 | | |
52 | 49 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | 50 | | |
57 | 51 | | |
58 | 52 | | |
| |||
101 | 95 | | |
102 | 96 | | |
103 | 97 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | 98 | | |
112 | 99 | | |
113 | 100 | | |
| |||
0 commit comments