feat: try add reboot

This commit is contained in:
手瓜一十雪 committed 2024-05-12 17:56:57 +08:00
1 parent 1691276770
commit 63c10dcade
4 files changed
+25 -13

No files matched your search

+2 -2
View File
@@ -61,12 +61,12 @@ export abstract class HttpServerBase {
this.listen(port, host);
} catch (e: any) {
logError('HTTP服务启动失败', e.toString());
// llonebotError.httpServerError = "HTTP服务启动失败, " + e.toString()
// httpServerError = "HTTP服务启动失败, " + e.toString()
}
}
stop() {
// llonebotError.httpServerError = ""
// httpServerError = ""
if (this.server) {
this.server.close();
this.server = null;