Merge branch 'Jalview-JS/develop' into develop
[jalview.git] / src / jalview / gui / OOMWarning.java
index 7b9da79..02c8fe1 100644 (file)
@@ -78,12 +78,12 @@ public class OOMWarning implements Runnable
   @Override
   public void run()
   {
+    oomInprogress = false;
     JvOptionPane.showInternalMessageDialog(desktop, MessageManager
             .formatMessage("warn.out_of_memory_when_action", new String[]
             { action }), MessageManager.getString("label.out_of_memory"),
             JvOptionPane.WARNING_MESSAGE);
     // hope that there's enough memory left that no more appear.
-    oomInprogress = false;
   }
 
 }