File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -358,7 +358,7 @@ export class WebKitDebugAdapter implements DebugProtocol.IDebugAdapter {
358
358
public disconnect ( ) : Promise < void > {
359
359
this . clearEverything ( ) ;
360
360
if ( this . _tnsProcess ) {
361
- kill ( this . _tnsProcess . pid , 'SIGQUIT ' )
361
+ kill ( this . _tnsProcess . pid , 'SIGINT ' )
362
362
this . _tnsProcess = null ;
363
363
}
364
364
if ( this . _webKitConnection ) {
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import {Services} from './services/extensionHostServices';
4
4
import { Project } from './project/project' ;
5
5
import { IosProject } from './project/iosProject' ;
6
6
import { AndroidProject } from './project/androidProject' ;
7
+ import * as kill from 'tree-kill' ;
7
8
8
9
// this method is called when the extension is activated
9
10
export function activate ( context : vscode . ExtensionContext ) {
@@ -54,6 +55,10 @@ export function activate(context: vscode.ExtensionContext) {
54
55
tnsProcess . on ( 'close' , exitCode => {
55
56
runChannel . hide ( ) ;
56
57
} ) ;
58
+
59
+ context . subscriptions . push ( {
60
+ dispose : ( ) => kill ( tnsProcess . pid , "SIGINT" )
61
+ } ) ;
57
62
} ;
58
63
59
64
let runIosCommand = vscode . commands . registerCommand ( 'nativescript.runIos' , ( ) => {
You can’t perform that action at this time.
0 commit comments