-
Notifications
You must be signed in to change notification settings - Fork 336
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
Data race #55
Comments
FYI, on my machine I get:
When I run the basic example using following commands:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When you build/run with
-race
you'll get the following stack using any of the basic examples:since promptui is reading and writing on 2 different goroutines ... probably should switch to either using a mutex (or ideally a channel)
For completeness of issue, here's the code:
The text was updated successfully, but these errors were encountered: