fix: 修复关闭插件时task未找到的问题

This commit is contained in:
2017-10-16 13:29:00 +08:00
parent 7dda35f614
commit c777f2b957
2 changed files with 7 additions and 2 deletions

View File

@ -217,7 +217,7 @@ exports.enable = function () {
exports.disable = function () {
checkAndGet(arguments).forEach(function (p) runAndCatch(p, p.disable, function(){
event.disable(p);
task.cancel();
// task.cancel();
}));
};
exports.reload = function () {