mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-09 23:49:27 +08:00
fix: listen promisify (#899)
This commit is contained in:
parent
6c929039b1
commit
a645dbf5fd
@ -379,7 +379,7 @@ export class Application<StateT = DefaultState, ContextT = DefaultContext> exten
|
|||||||
|
|
||||||
// close http server
|
// close http server
|
||||||
if (this.listenServer) {
|
if (this.listenServer) {
|
||||||
await promisify(this.listenServer.close)();
|
await promisify(this.listenServer.close).call(this.listenServer);
|
||||||
this.listenServer = null;
|
this.listenServer = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user