fix bug where task.kill is not passed cs (#1315)

This commit is contained in:
Dave Horton
2025-08-07 16:01:45 -04:00
committed by GitHub
parent 1933f4ec0b
commit 66bb466297
2 changed files with 2 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ class BackgroundTaskManager extends Emitter {
this.logger.info(`stopping background task: ${type}`);
task.removeAllListeners();
task.span.end();
task.kill();
task.kill(this.cs);
// Remove task from managed List
this.tasks.delete(type);
}