增加虚拟机close逻辑

This commit is contained in:
zhangdeman committed 2025-04-14 17:34:10 +08:00
1 parent 316e120490
commit f4b1cf5e59
1 file changed
+9
+9
View File
@@ -19,6 +19,15 @@ type VM struct {
luaVm *luaCompile.LState
}
// Close 关闭虚拟机
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 18:26 2024/11/14
func (v *VM) Close() {
v.luaVm.Close()
}
// Run 运行脚本
//
// Author : go_developer@163.com<白茶清欢>
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.