mirror of
https://github.com/koush/scrypted.git
synced 2026-02-11 01:32:02 +00:00
server: plugin device deletion crash fix
This commit is contained in:
@@ -186,7 +186,7 @@ export class PluginHostAPI extends PluginAPIManagedListeners implements PluginAP
|
||||
|
||||
async requestRestart() {
|
||||
const logger = await this.getLogger(undefined);
|
||||
logger.log('i', 'plugin restart was requested');
|
||||
logger?.log('i', 'plugin restart was requested');
|
||||
return this.restartDebounced();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user