diff options
Diffstat (limited to 'app/lib')
| -rw-r--r-- | app/lib/backend.js | 9 | ||||
| -rw-r--r-- | app/lib/ipc-facade.js | 5 |
2 files changed, 0 insertions, 14 deletions
diff --git a/app/lib/backend.js b/app/lib/backend.js index dfe4fdd2c3..c9f9969af3 100644 --- a/app/lib/backend.js +++ b/app/lib/backend.js @@ -294,15 +294,6 @@ export class Backend { } } - async shutdown() { - try { - await this._ensureAuthenticated(); - await this._ipc.shutdown(); - } catch (e) { - log.error('Failed to shutdown: ', e.message); - } - } - async updateRelaySettings(relaySettings: RelaySettingsUpdate) { try { await this._ensureAuthenticated(); diff --git a/app/lib/ipc-facade.js b/app/lib/ipc-facade.js index 0aa1d48d3f..103ef4d931 100644 --- a/app/lib/ipc-facade.js +++ b/app/lib/ipc-facade.js @@ -188,7 +188,6 @@ export interface IpcFacade { getAllowLan(): Promise<boolean>; connect(): Promise<void>; disconnect(): Promise<void>; - shutdown(): Promise<void>; getLocation(): Promise<Location>; getState(): Promise<BackendState>; registerStateListener((BackendState) => void): void; @@ -286,10 +285,6 @@ export class RealIpc implements IpcFacade { return this._ipc.send('disconnect').then(this._ignoreResponse); } - shutdown(): Promise<void> { - return this._ipc.send('shutdown').then(this._ignoreResponse); - } - getLocation(): Promise<Location> { // send the IPC with 30s timeout since the backend will wait // for a HTTP request before replying |
