@nxtedition/lib 17.2.0 → 17.2.1
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.
- package/app.js +6 -1
- package/package.json +1 -1
package/app.js
CHANGED
|
@@ -166,7 +166,12 @@ export function makeApp(appConfig, onTerminate) {
|
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
setTimeout(() => {
|
|
169
|
-
|
|
169
|
+
logger.error('aborting')
|
|
170
|
+
if (isMainThread) {
|
|
171
|
+
process.abort()
|
|
172
|
+
} else {
|
|
173
|
+
// TODO (fix): What to do here?
|
|
174
|
+
}
|
|
170
175
|
}, 10e3).unref()
|
|
171
176
|
}
|
|
172
177
|
|