src/Resources.vala
authorAlan Knowles <alan@roojs.com>
Sun, 15 Mar 2015 04:30:38 +0000 (12:30 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 15 Mar 2015 04:30:38 +0000 (12:30 +0800)
src/Resources.vala

index 57b2949..350eefc 100644 (file)
@@ -23,8 +23,11 @@ public class Resources : Object
      uint fetch_pos = 0;
      public void fetchStart()
      {
-          this.fetch_pos =0;
-         this.fetchNext();
+            if (this.fetch_pos > 0) { // only fetch one at a time...
+                return;
+            }
+            this.fetch_pos =0;
+            this.fetchNext();
          
      }
      public void fetchNext()