fix: 修复关闭插件时task未找到的问题
This commit is contained in:
parent
7dda35f614
commit
c777f2b957
7
pom.xml
7
pom.xml
@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>pw.yumc</groupId>
|
<groupId>pw.yumc</groupId>
|
||||||
<artifactId>MiaoScript</artifactId>
|
<artifactId>MiaoScript</artifactId>
|
||||||
<version>1.0</version>
|
<version>1.1</version>
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
<id>502647092</id>
|
<id>502647092</id>
|
||||||
@ -80,6 +80,11 @@
|
|||||||
</ciManagement>
|
</ciManagement>
|
||||||
<properties>
|
<properties>
|
||||||
<env.GIT_COMMIT>DEV</env.GIT_COMMIT>
|
<env.GIT_COMMIT>DEV</env.GIT_COMMIT>
|
||||||
|
<update.changes>
|
||||||
|
§617-10-16 §afix: 修复关闭MiaoScript时task异常;
|
||||||
|
§617-10-15 §6alpha: 第一个版本发布;
|
||||||
|
</update.changes>
|
||||||
|
<update.changelog></update.changelog>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven.compiler.source>1.8</maven.compiler.source>
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||||||
<maven.compiler.target>1.8</maven.compiler.target>
|
<maven.compiler.target>1.8</maven.compiler.target>
|
||||||
|
@ -217,7 +217,7 @@ exports.enable = function () {
|
|||||||
exports.disable = function () {
|
exports.disable = function () {
|
||||||
checkAndGet(arguments).forEach(function (p) runAndCatch(p, p.disable, function(){
|
checkAndGet(arguments).forEach(function (p) runAndCatch(p, p.disable, function(){
|
||||||
event.disable(p);
|
event.disable(p);
|
||||||
task.cancel();
|
// task.cancel();
|
||||||
}));
|
}));
|
||||||
};
|
};
|
||||||
exports.reload = function () {
|
exports.reload = function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user