fix task._data_keys not cleaned

This commit is contained in:
2020-01-13 16:55:40 +08:00
parent 13e233fbe7
commit 3d375261df

View File

@ -42,6 +42,7 @@ class Task {
}
clean() {
this._data = {};
this._data_keys = [];
}
async execute(tab, upstreamData) {
if (!tab) return Promise.reject("No tab to execute the task.");