diff --git a/src/taskmanager.js b/src/taskmanager.js index d917cd9d2..84df098aa 100644 --- a/src/taskmanager.js +++ b/src/taskmanager.js @@ -137,7 +137,7 @@ function stopAppTask(appId, callback) { if (gActiveTasks[appId]) { debug('stopAppTask : Killing existing task of %s with pid %s', appId, gActiveTasks[appId].pid); gActiveTasks[appId].once('exit', function () { callback(); }); - gActiveTasks[appId].kill(); // this will end up calling the 'exit' handler + gActiveTasks[appId].kill('SIGKILL'); // this will end up calling the 'exit' handler return; }