mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 12:02:20 +00:00
Temporary memory leak in FutureImpl.executors (#8640)
* Temporary memory leak in `FutureImpl.executors` * https://github.com/jenkinsci/jenkins-test-harness/pull/669 released * Skip new test on Windows https://github.com/jenkinsci/jenkins/pull/8640#discussion_r1373797374
This commit is contained in:
1 parent
942f932242
commit
e4fe5042e4
3 files changed
+29
No files matched your search
@@ -95,4 +95,8 @@ public final class FutureImpl extends AsyncFutureImpl<Executable> implements Que
|
||||
synchronized void addExecutor(@NonNull Executor executor) {
|
||||
this.executors.add(executor);
|
||||
}
|
||||
|
||||
synchronized void finished() {
|
||||
executors.clear();
|
||||
}
|
||||
}
|
||||
@@ -190,6 +190,7 @@ public final class WorkUnitContext {
|
||||
}
|
||||
}
|
||||
}
|
||||
future.finished();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user