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. (#11277)
  • Loading branch information
kannanjgithub authored Jun 12, 2024
1 parent 7fee6a3 commit 14fd81f
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 14fd81f

Please sign in to comment.