From: Jim Procter Date: Sun, 12 Feb 2012 17:05:47 +0000 (+0000) Subject: (JAL-1016) noted position where race condition occurs X-Git-Tag: Archived_Release_2_7~5 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ec4ef38882bce0469ce7c65cd70ceb85421cfbd2;p=jalview.git (JAL-1016) noted position where race condition occurs --- diff --git a/src/jalview/ext/jmol/JalviewJmolBinding.java b/src/jalview/ext/jmol/JalviewJmolBinding.java index 4a1efe6..a625fd7 100644 --- a/src/jalview/ext/jmol/JalviewJmolBinding.java +++ b/src/jalview/ext/jmol/JalviewJmolBinding.java @@ -357,7 +357,7 @@ public abstract class JalviewJmolBinding implements StructureListener, for (int pdbfnum = 0; pdbfnum < files.length; pdbfnum++) { StructureMapping[] mapping = ssm.getMapping(files[pdbfnum]); - + // RACE CONDITION - getMapping only returns Jmol loaded filenames once Jmol callback has completed. if (mapping == null || mapping.length < 1) continue;