@xuda.io/runtime-bundle 1.0.654 → 1.0.656

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.
@@ -29278,12 +29278,18 @@ func.datasource.run_events_functions = async function (SESSION_ID, dataSourceSes
29278
29278
  for (let job_num of jobs) {
29279
29279
  job_promises.push(
29280
29280
  new Promise((resolve, reject) => {
29281
+ let i = 0;
29281
29282
  const interval = setInterval(() => {
29283
+ i++;
29282
29284
  var job_index = func.events.find_job_index(SESSION_ID, job_num);
29283
29285
  if (job_index == null) {
29284
29286
  clearInterval(interval);
29285
29287
  resolve(job_num);
29286
29288
  }
29289
+ if (i > 100) {
29290
+ console.error('deadlock detected');
29291
+ i = 0;
29292
+ }
29287
29293
  }, 100);
29288
29294
  }),
29289
29295
  );
@@ -30250,7 +30256,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
30250
30256
  if (!avoid_refresh && fields_changed.length) {
30251
30257
  await func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_changed);
30252
30258
  // await removed from the below function cause to dead lock Mar 3 25
30253
- func.UI.screen.refresh_screen(
30259
+ await func.UI.screen.refresh_screen(
30254
30260
  SESSION_ID,
30255
30261
  fields_changed,
30256
30262
  null,