You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating to 1.5.0.RC3 or 1.4.1 from the version 1.1.0.RC3 variables started to be lost after using callonce sleep call. And sleep is def sleep = function(pause){ java.lang.Thread.sleep(pause * 1000) }
Expected behavior:
Should print values of myVarName and localVar after callonce sleep.
Actual behavior:
throws an exception for each of them:
org.graalvm.polyglot.PolyglotException: ReferenceError: "myVarName" is not defined
org.graalvm.polyglot.PolyglotException: ReferenceError: "localVar" is not defined
The text was updated successfully, but these errors were encountered:
After updating to 1.5.0.RC3 or 1.4.1 from the version 1.1.0.RC3 variables started to be lost after using
callonce sleep
call. Andsleep
isdef sleep = function(pause){ java.lang.Thread.sleep(pause * 1000) }
Here's a Minimal, Reproducible Example.
Expected behavior:
Should print values of
myVarName
andlocalVar
aftercallonce sleep
.Actual behavior:
throws an exception for each of them:
The text was updated successfully, but these errors were encountered: