We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c87b835 commit 4ccd4b8Copy full SHA for 4ccd4b8
packages/cli-v3/src/entryPoints/dev-run-controller.ts
@@ -369,11 +369,15 @@ export class DevRunController {
369
try {
370
await this.cancelAttempt();
371
} catch (error) {
372
- logger.debug("Failed to cancel attempt, shutting down", {
+ logger.debug("Failed to cancel attempt, killing task run process", {
373
error,
374
});
375
376
- //todo kill the process?
+ try {
377
+ await this.taskRunProcess?.kill("SIGKILL");
378
+ } catch (error) {
379
+ logger.debug("Failed to cancel attempt, failed to kill task run process", { error });
380
+ }
381
382
return;
383
}
0 commit comments