Skip to content

Commit

Permalink
Adding missing synchronization in the runnable that is causing access…
Browse files Browse the repository at this point in the history
… guard violation error. (grpc#11277)
  • Loading branch information
kannanjgithub authored and larry-safran committed Aug 13, 2024
1 parent e13212a commit 85acfe9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,9 @@ final void shutdownInternal(Status shutdownStatus, boolean forceTerminate) {
inbound.closeAbnormal(shutdownStatus);
}
}
notifyTerminated();
synchronized (this) {
notifyTerminated();
}
releaseExecutors();
});
}
Expand Down

0 comments on commit 85acfe9

Please sign in to comment.