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
When current_loop() is called from the R console, it should always return the global loop, with ID 0. However, it's sometimes possible get it in a state where the current loop is not 0. I believe it has something to do with being interrupted at just the right time.
This is a reproducible example which uses some code from chromote. It's not truly minimal, but I haven't figured out a simpler way of making it happen.
First, install dev versions of later and chromote:
Note that this doesn't work every time -- it may take a few tries before it does this. Also, even after the fix in #117 (which I thought might fix this), it still happens.
The text was updated successfully, but these errors were encountered:
When
current_loop()
is called from the R console, it should always return the global loop, with ID 0. However, it's sometimes possible get it in a state where the current loop is not 0. I believe it has something to do with being interrupted at just the right time.This is a reproducible example which uses some code from chromote. It's not truly minimal, but I haven't figured out a simpler way of making it happen.
First, install dev versions of later and chromote:
Then run this. After running the first block of code, press Ctrl-C or Esc as fast as you can, until
"resolve"
is printed.Here's the output:
Note that this doesn't work every time -- it may take a few tries before it does this. Also, even after the fix in #117 (which I thought might fix this), it still happens.
The text was updated successfully, but these errors were encountered: