@nocobase/plugin-workflow-test 1.9.42 → 1.9.43

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.
@@ -8,11 +8,11 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "1.9.42",
12
- "@nocobase/utils": "1.9.42",
11
+ "@nocobase/client": "1.9.43",
12
+ "@nocobase/utils": "1.9.43",
13
13
  "lodash": "4.17.21",
14
- "@nocobase/test": "1.9.42",
15
- "@nocobase/server": "1.9.42",
16
- "@nocobase/data-source-manager": "1.9.42",
17
- "@nocobase/database": "1.9.42"
14
+ "@nocobase/test": "1.9.43",
15
+ "@nocobase/server": "1.9.43",
16
+ "@nocobase/data-source-manager": "1.9.43",
17
+ "@nocobase/database": "1.9.43"
18
18
  };
@@ -108,11 +108,15 @@ var instructions_default = {
108
108
  nodeKey: node.key,
109
109
  upstreamId: (input == null ? void 0 : input.id) ?? null
110
110
  });
111
+ const plugin = processor.options.plugin;
111
112
  setTimeout(() => {
113
+ if (!plugin.app || plugin.app.stopped) {
114
+ return;
115
+ }
112
116
  job.set({
113
117
  status: 1
114
118
  });
115
- processor.options.plugin.resume(job);
119
+ plugin.resume(job);
116
120
  }, node.config.duration ?? 100);
117
121
  return null;
118
122
  },
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "displayName": "Workflow: test kit",
4
4
  "displayName.ru-RU": "Рабочий процесс: Набор тестов",
5
5
  "displayName.zh-CN": "工作流:测试工具包",
6
- "version": "1.9.42",
6
+ "version": "1.9.43",
7
7
  "license": "AGPL-3.0",
8
8
  "main": "dist/server/index.js",
9
9
  "types": "./dist/server/index.d.ts",
@@ -12,5 +12,5 @@
12
12
  "@nocobase/server": "1.x",
13
13
  "@nocobase/test": "1.x"
14
14
  },
15
- "gitHead": "7cd33b67e8026e1edcc447823f5c40882cbe985d"
15
+ "gitHead": "75fd9dae1ae3cfe69e6b233cd488a9d977e486f5"
16
16
  }