@node-ts/bus-core
Advanced tools
Comparing version 1.1.0-beta.0 to 1.1.0-beta.1
@@ -111,2 +111,7 @@ "use strict"; | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
const isPrepared = this.persistence !== undefined; | ||
if (!isPrepared) { | ||
// If the registry has not been prepared, then there is no logger or persistence available | ||
return; | ||
} | ||
this.logger.debug('Disposing workflow registry'); | ||
@@ -113,0 +118,0 @@ try { |
{ | ||
"name": "@node-ts/bus-core", | ||
"version": "1.1.0-beta.0", | ||
"version": "1.1.0-beta.1", | ||
"description": "A service bus for message-based, distributed node applications", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -150,2 +150,8 @@ import { WorkflowState, WorkflowStatus } from '../workflow-state' | ||
async dispose(): Promise<void> { | ||
const isPrepared = this.persistence !== undefined | ||
if (!isPrepared) { | ||
// If the registry has not been prepared, then there is no logger or persistence available | ||
return | ||
} | ||
this.logger.debug('Disposing workflow registry') | ||
@@ -152,0 +158,0 @@ try { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
341766
8272