git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
JAL-3626 use Viewer.scriptWait() to send Jmol commands (Bob Hanson)
[jalview.git]
/
src
/
jalview
/
gui
/
AppJmol.java
diff --git
a/src/jalview/gui/AppJmol.java
b/src/jalview/gui/AppJmol.java
index
4058cda
..
ffc8053
100644
(file)
--- a/
src/jalview/gui/AppJmol.java
+++ b/
src/jalview/gui/AppJmol.java
@@
-344,8
+344,10
@@
public class AppJmol extends StructureViewerBase
try
{
Cache.log.debug("Waiting around for jmb notify.");
- Thread.sleep(waitFor);
waitTotal += waitFor;
+
+ // Thread.sleep() throws an exception in JS
+ Thread.sleep(waitFor);
} catch (Exception e)
{
}