Commit 420d8bd3 authored by nanahira's avatar nanahira

fix leak

parent 44533443
Pipeline #4501 passed with stages
in 1 minute and 17 seconds
{ {
"name": "koishi-plugin-act", "name": "koishi-plugin-act",
"version": "1.0.2", "version": "1.0.3",
"description": "A plugin playing acts in QQ groups", "description": "A plugin playing acts in QQ groups",
"main": "dist/index.js", "main": "dist/index.js",
"dependencies": { "dependencies": {
......
...@@ -141,6 +141,9 @@ export class Show { ...@@ -141,6 +141,9 @@ export class Show {
} }
clearInterval(this.showInterval); clearInterval(this.showInterval);
this.showInterval = undefined; this.showInterval = undefined;
for (const character of this.playbook.characters) {
character.playFun = undefined;
}
this.onFinish(message, this); this.onFinish(message, this);
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment