Eugene Pankov 7 éve
szülő
commit
0e86894d81

+ 0 - 6
terminus-terminal/src/services/sessions.service.ts

@@ -30,12 +30,6 @@ export abstract class BaseSession {
     get closed$ (): Observable<void> { return this.closed }
     get destroyed$ (): Observable<void> { return this.destroyed }
 
-    constructor () {
-        this.output$ = this.output.asObservable()
-        this.closed$ = this.closed.asObservable()
-        this.destroyed$ = this.destroyed.asObservable()
-    }
-
     emitOutput (data: string) {
         if (!this.initialDataBufferReleased) {
             this.initialDataBuffer += data

+ 0 - 1
terminus-terminal/src/services/terminal.service.ts

@@ -29,7 +29,6 @@ export class TerminalService {
 
     async reloadShells () {
         this.shells = new AsyncSubject<IShell[]>()
-        this.shells$ = this.shells.asObservable()
         let shellLists = await Promise.all(this.config.enabledServices(this.shellProviders).map(x => x.provide()))
         this.shells.next(shellLists.reduce((a, b) => a.concat(b)))
         this.shells.complete()