fix task._data_keys not cleaned
This commit is contained in:
@ -42,6 +42,7 @@ class Task {
|
|||||||
}
|
}
|
||||||
clean() {
|
clean() {
|
||||||
this._data = {};
|
this._data = {};
|
||||||
|
this._data_keys = [];
|
||||||
}
|
}
|
||||||
async execute(tab, upstreamData) {
|
async execute(tab, upstreamData) {
|
||||||
if (!tab) return Promise.reject("No tab to execute the task.");
|
if (!tab) return Promise.reject("No tab to execute the task.");
|
||||||
|
|||||||
Reference in New Issue
Block a user