Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

time: Sleep example crashes #4280

campoy opened this issue Oct 24, 2012 · 1 comment

time: Sleep example crashes #4280

campoy opened this issue Oct 24, 2012 · 1 comment


Copy link

@campoy campoy commented Oct 24, 2012

What steps will reproduce the problem?
1. Go to
2. Click the run button for the Sleep example.
3. It panics with a message saying "No sleeping in the playground"

What is the expected output? What do you see instead?

The expected output would be the program finishing after the sleep time. Instead I see
the panic message.

I understand this is not an easy bug to fix, just filing it for reference. Or maybe we
could remove the Run button for any example using time.Sleep?
Copy link

@davecheney davecheney commented Feb 25, 2013

Comment 2:

The playground now allows sleeping.

Status changed to Done.

@rsc rsc added this to the Go1.1 milestone Apr 14, 2015
@rsc rsc removed the go1.1maybe label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.