fix(core): update

This commit is contained in:
Philipp Kunz 2019-08-20 22:28:48 +02:00
parent 8c2aa23406
commit 1be3f7f388

View File

@ -134,4 +134,13 @@ export class SmartNginx {
this.hostCandidates.wipe(); this.hostCandidates.wipe();
} }
} }
/**
* stops the smartnginx instance
*/
public async stop() {
if (this.nginxProcess) {
await this.nginxProcess.stop();
}
}
} }