Details
Description
Overview:
The executor service in Embedder.java is not shutdown() if doIgnoreFailureInView is set to true. This leads to a thread leak.
Technical:
See the finally block in Embedder.java runStoriesAsPaths().
The shutdownExecutorService() is called only if generateReportsView() runs successfully without throwing an exception. However if doIgnoreFailureInView is set to false (which is by default) then generateReportsView() throws a RunningStoriesFailed RuntimeException.
Activity
In-Hwan Kim
made changes -
Field | Original Value | New Value |
---|---|---|
Summary | ExecutorService not shutdown if doIgnoreFailureInView is not set to true | ExecutorService not shutdown if doIgnoreFailureInView is set to false |
Mauro Talevi
made changes -
Fix Version/s | 3.9 [ 19035 ] |
Mauro Talevi
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |