tillrohrmann commented on a change in pull request #11313: [FLINK-16373] Make
JobManagerLeaderListener thread safe
URL: https://github.com/apache/flink/pull/11313#discussion_r393697541
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/JobLeaderService.java
##########
@@ -251,90 +254,83 @@ private JobManagerLeaderListener(JobID jobId) {
}
public void stop() {
- stopped = true;
+ synchronized (lock) {
+ stopped = true;
Review comment:
Yes, but I think this wouldn't make much of a difference.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services