Skip to content

Commit

Permalink
If the frame handler thread is null do not schedule it on the executo…
Browse files Browse the repository at this point in the history
…r. Fixes NPE from grpc#11503.
  • Loading branch information
kannanjgithub committed Oct 29, 2024
1 parent 00c8bc7 commit 086636f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,9 @@ public void run() {
serializingExecutor.execute(new Runnable() {
@Override
public void run() {
if (clientFrameHandler == null) {
return;
}
if (connectingCallback != null) {
connectingCallback.run();
}
Expand Down

0 comments on commit 086636f

Please sign in to comment.