mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-09 13:31:41 +00:00
fix: Fix Failed to call 'Frontend' 'stop' (TypeError: Cannot read properties of undefined (reading 'close') https://github.com/Koenkk/zigbee2mqtt/issues/25715
This commit is contained in:
@@ -129,7 +129,7 @@ export default class Frontend extends Extension {
|
||||
});
|
||||
this.wss?.close();
|
||||
|
||||
await new Promise((resolve) => this.server.close(resolve));
|
||||
await new Promise((resolve) => this.server?.close(resolve));
|
||||
}
|
||||
|
||||
@bind private onRequest(request: IncomingMessage, response: ServerResponse): void {
|
||||
|
||||
Reference in New Issue
Block a user