Skip to content

Commit

Permalink
fix: serverless-app stop need close runtime (#1015)
Browse files Browse the repository at this point in the history
  • Loading branch information
czy88840616 authored Apr 29, 2021
1 parent 3b6303c commit 1bef223
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages-serverless/serverless-app/src/framework.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ export class Framework
if (this.innerBootStarter) {
await this.innerBootStarter.stop();
}
if (this.runtime) {
await this.runtime.close();
}
}

getApplicationContext(): IMidwayContainer {
Expand Down

0 comments on commit 1bef223

Please sign in to comment.