This commit is contained in:
cdle
2023-06-07 17:33:29 +08:00
parent 90f302a682
commit c74c9b130e
7 changed files with 124 additions and 6 deletions
+1 -1
View File
@@ -459,7 +459,7 @@ func initPlugin(data string, uuid string) (*common.Function, error) {
}
loop := eventloop.NewEventLoop()
loop.Run(func(vm *goja.Runtime) {
SetPluginMethod(vm, uuid, onStart)
SetPluginMethod(vm, uuid, onStart, running)
ss := &SenderJsIplm{
Message: s,
Vm: vm,