Skip to content
Snippets Groups Projects
Commit 71704d75 authored by Tobias Pietzsch's avatar Tobias Pietzsch
Browse files
(NPE in PainterThread when closing the BDV window)
parent 9b4d5f07
Branches
Tags
No related merge requests found
......@@ -1012,6 +1012,14 @@ public class ViewerPanel extends JPanel implements OverlayRenderer, TransformLis
public void stop()
{
painterThread.interrupt();
try
{
painterThread.join( 0 );
}
catch ( final InterruptedException e )
{
e.printStackTrace();
}
renderingExecutorService.shutdown();
state.kill();
imageRenderer.kill();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment