[#6481] allowed calling cronAdd and cronRemove from inside other JSVM handlers

This commit is contained in:
Gani Georgiev
2025-03-11 15:00:56 +02:00
parent 4e148f7224
commit 33613b27b0
3 changed files with 16 additions and 16 deletions

View File

@@ -1438,7 +1438,7 @@ func TestCronBindsCount(t *testing.T) {
testBindsCount(vm, "this", 2, t)
pool.run(func(poolVM *goja.Runtime) error {
testBindsCount(poolVM, "this", 1, t)
testBindsCount(poolVM, "this", 2, t)
return nil
})
}