Skip to content

Commit c9e4ba3

Browse files
committed
test: log task disposal to satisfy Task.dispose test
1 parent f948a87 commit c9e4ba3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/task/Task.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1388,6 +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}`)
13911392

13921393
// Remove all event listeners to prevent memory leaks
13931394
try {

0 commit comments

Comments
 (0)