Open orizerah opened 2 years ago
cc @toothrot
The program doesn't run forever. It is using the faketime
implementation, so it buffers up to some amount of timestamped output and then plays that back. The amount of output in the buffer may cover a very long wall-time interval, even though the amount of time to simulate that interval in the playground was actually much shorter.
What is the URL of the page with the issue?
https://go.dev/play/p/nFK61FSRjMa
What is your user agent?
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36 Edg/103.0.1264.71
Screenshot
What did you do?
I was playing with channels, trying to understand when a channel is blocked, and I managed to make the program to continue working even after getting the timeout prompt. Here's a snippet of the code:
What did you expect to see?
I expected the program to stop after getting timeout, and in general, for something to crash after the program continued
What did you see instead?
The program runs forever