Skip to content

Commit 78c2173

Browse files
Update src/core/task/Task.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
1 parent c9e4ba3 commit 78c2173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/task/Task.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,7 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
13881388

13891389
public dispose(): void {
13901390
// Disposing task
1391-
console.log(`[Task] disposing task ${this.taskId}.${this.instanceId}`)
1391+
this.providerRef.deref()?.log(`[Task] disposing task ${this.taskId}.${this.instanceId}`)
13921392

13931393
// Remove all event listeners to prevent memory leaks
13941394
try {

0 commit comments

Comments
 (0)