@comunica/actor-init-query 2.2.2-alpha.18.0 → 2.2.2-alpha.19.0

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.
@@ -149,7 +149,9 @@ class HttpServiceSparqlEndpoint {
149
149
  workerTimeouts[queryId] = setTimeout(() => {
150
150
  stderr.write(`Worker ${worker.process.pid} timed out for query ${queryId}.\n`);
151
151
  try {
152
- worker.send('shutdown');
152
+ if (worker.isConnected()) {
153
+ worker.send('shutdown');
154
+ }
153
155
  }
154
156
  catch (error) {
155
157
  stderr.write(`Unable to timeout worker ${worker.process.pid}: ${error.message}.\n`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comunica/actor-init-query",
3
- "version": "2.2.2-alpha.18.0",
3
+ "version": "2.2.2-alpha.19.0",
4
4
  "description": "A query init actor",
5
5
  "lsd:module": true,
6
6
  "main": "lib/index.js",
@@ -31,19 +31,19 @@
31
31
  "lib/**/*.js"
32
32
  ],
33
33
  "dependencies": {
34
- "@comunica/actor-http-proxy": "2.2.2-alpha.18.0",
35
- "@comunica/bus-context-preprocess": "2.2.2-alpha.18.0",
36
- "@comunica/bus-http-invalidate": "2.2.2-alpha.18.0",
37
- "@comunica/bus-init": "2.2.2-alpha.18.0",
38
- "@comunica/bus-optimize-query-operation": "2.2.2-alpha.18.0",
39
- "@comunica/bus-query-operation": "2.2.2-alpha.18.0",
40
- "@comunica/bus-query-parse": "2.2.2-alpha.18.0",
41
- "@comunica/bus-query-result-serialize": "2.2.2-alpha.18.0",
42
- "@comunica/context-entries": "2.2.2-alpha.18.0",
43
- "@comunica/core": "2.2.2-alpha.18.0",
44
- "@comunica/logger-pretty": "2.2.2-alpha.18.0",
45
- "@comunica/runner": "2.2.2-alpha.18.0",
46
- "@comunica/types": "2.2.2-alpha.18.0",
34
+ "@comunica/actor-http-proxy": "2.2.2-alpha.19.0",
35
+ "@comunica/bus-context-preprocess": "2.2.2-alpha.19.0",
36
+ "@comunica/bus-http-invalidate": "2.2.2-alpha.19.0",
37
+ "@comunica/bus-init": "2.2.2-alpha.19.0",
38
+ "@comunica/bus-optimize-query-operation": "2.2.2-alpha.19.0",
39
+ "@comunica/bus-query-operation": "2.2.2-alpha.19.0",
40
+ "@comunica/bus-query-parse": "2.2.2-alpha.19.0",
41
+ "@comunica/bus-query-result-serialize": "2.2.2-alpha.19.0",
42
+ "@comunica/context-entries": "2.2.2-alpha.19.0",
43
+ "@comunica/core": "2.2.2-alpha.19.0",
44
+ "@comunica/logger-pretty": "2.2.2-alpha.19.0",
45
+ "@comunica/runner": "2.2.2-alpha.19.0",
46
+ "@comunica/types": "2.2.2-alpha.19.0",
47
47
  "@rdfjs/types": "*",
48
48
  "@types/yargs": "^17.0.2",
49
49
  "asynciterator": "^3.4.2",
@@ -62,5 +62,5 @@
62
62
  "browser": {
63
63
  "./lib/index.js": "./lib/index-browser.js"
64
64
  },
65
- "gitHead": "17ba2ad30994775af0237b5e54f3915ef7aa3cd4"
65
+ "gitHead": "b5eb7404b37317357a2168c5f23f3161592207d4"
66
66
  }