@xuda.io/runtime-bundle 1.0.820 → 1.0.822

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27566,10 +27566,14 @@ func.UI.worker.init = async function (SESSION_ID) {
27566
27566
 
27567
27567
  this.attempt++;
27568
27568
  }
27569
- await job_iterator();
27569
+ // return await job_iterator();
27570
27570
  };
27571
27571
  job_iterator();
27572
- // this._interval = setInterval(job_iterator, 1);
27572
+ this._interval = setInterval(() => {
27573
+ if (typeof UI_WORKER_OBJ.stat === 'undefined' || UI_WORKER_OBJ.stat === 'undefined' || UI_WORKER_OBJ.stat === null) {
27574
+ job_iterator();
27575
+ }
27576
+ }, 1);
27573
27577
 
27574
27578
  setInterval(async function () {
27575
27579
  func.UI.ds_garbage_collector();
@@ -27845,7 +27849,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
27845
27849
  // }, 1000);
27846
27850
  }
27847
27851
  setTimeout(async () => {
27848
- // return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
27852
+ return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
27849
27853
  }, 10000);
27850
27854
  },
27851
27855
  };