parent
62a9158074
commit
9479b7dc74
@ -819,7 +819,7 @@ export class Xapi extends EventEmitter {
|
||||
const taskWatchers = this._taskWatchers
|
||||
const taskWatcher = taskWatchers[ref]
|
||||
if (taskWatcher !== undefined) {
|
||||
taskWatcher.reject(new Error('task has been detroyed before completion'))
|
||||
taskWatcher.reject(new Error('task has been destroyed before completion'))
|
||||
delete taskWatchers[ref]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user