Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修改运行中的后台脚本不会使修改前的脚本停止仍会保持运行 #207

Closed
DreamNya opened this issue Jun 25, 2023 · 0 comments

Comments

@DreamNya
Copy link
Contributor

后台脚本运行中(比如有setInterval)没有停止就直接修改脚本后再运行修改后的脚本
修改前的脚本仍会保持运行

具体复现方法为:
增加一个没有resolve但有setInterval(比如console.log(123))的后台脚本并运行
控制台中确有console.log(123)
不手动停止,直接修改代码为console.log(456)并保存继续运行
控制台中不仅有console.log(456),还有console.log(123)

建议后台脚本保存脚本时强制停止之前未停止的脚本

@CodFrm CodFrm closed this as completed in d059ef7 Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant