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

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 |

Fix Version/s | 3.9 [ 19035 ] |

Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |