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:
52e125b
)
need to own lock to notify
author
jprocter
<Jim Procter>
Mon, 17 Jan 2011 15:11:46 +0000
(15:11 +0000)
committer
jprocter
<Jim Procter>
Mon, 17 Jan 2011 15:11:46 +0000
(15:11 +0000)
src/jalview/javascript/JSFunctionExec.java
patch
|
blob
|
history
diff --git
a/src/jalview/javascript/JSFunctionExec.java
b/src/jalview/javascript/JSFunctionExec.java
index
47e4538
..
6ab0865
100644
(file)
--- a/
src/jalview/javascript/JSFunctionExec.java
+++ b/
src/jalview/javascript/JSFunctionExec.java
@@
-29,7
+29,10
@@
public class JSFunctionExec implements Runnable
Vector q = jsExecQueue;
q.removeAllElements();
jsExecQueue = null;
- executor.notify();
+ synchronized (q)
+ {
+ q.notifyAll();
+ }
}
executor = null;
}