Skip to content

Commit

Permalink
ignore unavaiable persistence providers in SessionsService (fixes #159)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Aug 5, 2017
1 parent 39183b1 commit f428be5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions terminus-terminal/src/services/sessions.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ export class SessionsService {
) {
nodePTY = electron.remoteRequirePluginModule('terminus-terminal', 'node-pty', global as any)
this.logger = log.create('sessions')
this.persistenceProviders = this.persistenceProviders.filter(x => x.isAvailable())
}

async prepareNewSession (options: SessionOptions): Promise<SessionOptions> {
Expand Down

0 comments on commit f428be5

Please sign in to comment.