git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b9e5a8
)
JAL-2426 Removal of NPE in conservation thread when closing Jalview
author
kiramt
<k.mourao@dundee.ac.uk>
Tue, 28 Feb 2017 14:50:10 +0000
(14:50 +0000)
committer
kiramt
<k.mourao@dundee.ac.uk>
Tue, 28 Feb 2017 14:50:10 +0000
(14:50 +0000)
src/jalview/workers/ConservationThread.java
patch
|
blob
|
history
diff --git
a/src/jalview/workers/ConservationThread.java
b/src/jalview/workers/ConservationThread.java
index
b2a67b7
..
571234c
100644
(file)
--- a/
src/jalview/workers/ConservationThread.java
+++ b/
src/jalview/workers/ConservationThread.java
@@
-115,6
+115,12
@@
public class ConservationThread extends AlignCalcWorker
}
calcMan.workerComplete(this);
+ if ((alignViewport == null) || (calcMan == null)
+ || (alignViewport.isClosed()))
+ {
+ abortAndDestroy();
+ return;
+ }
if (ap != null)
{
ap.paintAlignment(true);