Skip to content
Snippets Groups Projects
Commit 136d6c7b authored by Nelson Tavares de Sousa's avatar Nelson Tavares de Sousa
Browse files

removed bug -> head stages did not get the owning thread

parent be6c34f2
No related branches found
No related tags found
No related merge requests found
......@@ -163,6 +163,7 @@ public final class Analysis<T extends AnalysisConfiguration> implements Uncaught
private Thread createThread(final AbstractExceptionListener newListener, final Set<Stage> intraStages, final Stage stage, final AbstractRunnableStage runnable) {
final Thread thread = new Thread(runnable);
stage.setExceptionHandler(newListener);
stage.setOwningThread(thread);
for (Stage intraStage : intraStages) {
intraStage.setOwningThread(thread);
intraStage.setExceptionHandler(newListener);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment