mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-27 14:59:57 +00:00
ignore unavaiable persistence providers in SessionsService (fixes #159)
This commit is contained in:
parent
39183b1205
commit
f428be5ae7
@ -185,6 +185,7 @@ export class SessionsService {
|
|||||||
) {
|
) {
|
||||||
nodePTY = electron.remoteRequirePluginModule('terminus-terminal', 'node-pty', global as any)
|
nodePTY = electron.remoteRequirePluginModule('terminus-terminal', 'node-pty', global as any)
|
||||||
this.logger = log.create('sessions')
|
this.logger = log.create('sessions')
|
||||||
|
this.persistenceProviders = this.persistenceProviders.filter(x => x.isAvailable())
|
||||||
}
|
}
|
||||||
|
|
||||||
async prepareNewSession (options: SessionOptions): Promise<SessionOptions> {
|
async prepareNewSession (options: SessionOptions): Promise<SessionOptions> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user