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
ShaiBer
changed the title
Function with infinite loops keeps on spewing logs even after hot reloading a change of code that deletes it
Function with infinite loop keeps on spewing logs even after hot reloading a change of code that deletes it
Sep 5, 2023
This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days.
Feel free to re-open this issue when there's an update or relevant information to be added.
Thanks!
This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days.
Feel free to re-open this issue when there's an update or relevant information to be added.
Thanks!
I tried this:
Wrote this code:
Then invoked the function and saw the logs starting to appear.
Then I deleted the function, so my code is this:
This happened:
After the console hot reloaded the new code, the Function was removed from the map view, but the "Weeee" logs kept appearing every second
I expected this:
The logs to stop coming in
Is there a workaround?
No response
Component
SDK
Wing Version
No response
Node.js Version
No response
Platform(s)
No response
Anything else?
I was doing this test in the playground.
Also, if I changed the sleep time to 1ms the playground crashed after a short time..
Community Notes
The text was updated successfully, but these errors were encountered: