File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,12 +104,6 @@ export class NestApplicationContext implements INestApplicationContext {
104104 return this ;
105105 }
106106
107- protected async dispose ( ) : Promise < void > {
108- // Nest application context has no server
109- // to dispose, therefore just call a noop
110- return Promise . resolve ( ) ;
111- }
112-
113107 public async close ( ) : Promise < void > {
114108 await this . callDestroyHook ( ) ;
115109 await this . callBeforeShutdownHook ( ) ;
@@ -155,6 +149,12 @@ export class NestApplicationContext implements INestApplicationContext {
155149 return this ;
156150 }
157151
152+ protected async dispose ( ) : Promise < void > {
153+ // Nest application context has no server
154+ // to dispose, therefore just call a noop
155+ return Promise . resolve ( ) ;
156+ }
157+
158158 /**
159159 * Listens to shutdown signals by listening to
160160 * process events
You can’t perform that action at this time.
0 commit comments