Improved session handling
This commit is contained in:
		@@ -2,7 +2,7 @@
 | 
				
			|||||||
    "name": "frog",
 | 
					    "name": "frog",
 | 
				
			||||||
    "displayName": "Frog",
 | 
					    "displayName": "Frog",
 | 
				
			||||||
    "description": "The Oracle SQL workbench for VSCode",
 | 
					    "description": "The Oracle SQL workbench for VSCode",
 | 
				
			||||||
    "version": "0.0.19",
 | 
					    "version": "0.0.20",
 | 
				
			||||||
    "publisher": "tmuerell",
 | 
					    "publisher": "tmuerell",
 | 
				
			||||||
    "engines": {
 | 
					    "engines": {
 | 
				
			||||||
        "vscode": "^1.17.0"
 | 
					        "vscode": "^1.17.0"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -50,7 +50,7 @@ export class SessionManager {
 | 
				
			|||||||
        if (!this.dbSession) return;
 | 
					        if (!this.dbSession) return;
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        this.dbSession.stdin.end();
 | 
					        this.dbSession.stdin.end();
 | 
				
			||||||
        this.dbSession = null;
 | 
					        this.dbSession.kill();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public check() : boolean {
 | 
					    public check() : boolean {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user