@nxtedition/lib 23.17.9 → 23.17.10

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.
Files changed (2) hide show
  1. package/app.js +2 -2
  2. package/package.json +1 -1
package/app.js CHANGED
@@ -234,7 +234,7 @@ export function makeApp(appConfig, onTerminate) {
234
234
  }
235
235
 
236
236
  for (const { reason: err } of await Promise.allSettled(
237
- destroyers.filter(Boolean).map((fn) => destroy(fn)),
237
+ destroyers.filter(Boolean).map(async (fn) => destroy(fn)),
238
238
  )) {
239
239
  if (err) {
240
240
  logger.error({ err }, 'shutdown error')
@@ -242,7 +242,7 @@ export function makeApp(appConfig, onTerminate) {
242
242
  }
243
243
 
244
244
  for (const { reason: err } of await Promise.allSettled(
245
- appDestroyers.filter(Boolean).map((fn) => destroy(fn)),
245
+ appDestroyers.filter(Boolean).map(async (fn) => destroy(fn)),
246
246
  )) {
247
247
  if (err) {
248
248
  logger.error({ err }, 'shutdown error')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "23.17.9",
3
+ "version": "23.17.10",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",