@tsed/common 6.69.1 → 6.69.2
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/lib/builder/PlatformBuilder.d.ts +1 -1
- package/lib/domain/AnyToPromiseWithCtx.d.ts +2 -2
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -1
- package/lib/index.modern.js +3 -3
- package/lib/index.modern.js.map +1 -1
- package/lib/services/PlatformTest.d.ts +1 -1
- package/package.json +13 -13
package/lib/index.modern.js
CHANGED
|
@@ -487,12 +487,12 @@ class AnyToPromiseWithCtx extends AnyToPromise {
|
|
|
487
487
|
this.err = err;
|
|
488
488
|
}
|
|
489
489
|
|
|
490
|
-
|
|
490
|
+
isDone() {
|
|
491
491
|
const {
|
|
492
492
|
$ctx
|
|
493
493
|
} = this;
|
|
494
494
|
|
|
495
|
-
if (
|
|
495
|
+
if (!($ctx != null && $ctx.isDone())) {
|
|
496
496
|
if ($ctx != null && $ctx.request.isAborted() || $ctx != null && $ctx.response.isDone()) {
|
|
497
497
|
this.destroy();
|
|
498
498
|
|
|
@@ -502,7 +502,7 @@ class AnyToPromiseWithCtx extends AnyToPromise {
|
|
|
502
502
|
}
|
|
503
503
|
}
|
|
504
504
|
|
|
505
|
-
return
|
|
505
|
+
return super.isDone();
|
|
506
506
|
}
|
|
507
507
|
|
|
508
508
|
async call(cb) {
|