-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Threading timing issue #1054
Comments
is there a way to trigger that bug reliably? |
Not that I can think of - timing issues are a pain to debug :-/ It triggers every time on my laptop, but on my desktop it never does. |
yeah there should be a way to insert a sleep() that triggers it |
can you try that please:
|
Ok, checked that out -- no error there but now I can't reproduce the error in the first place. Without understanding the code at all, I'm wondering if it was only an issue if there's a request in the queue right off the bat. In which case, I guess your code would fix it... :) |
well, unfortunately that patch breaks other things.. |
Well the issue resolved itself for me, but probably only because I worked On Thu, 5 Mar 2015 11:34 pm ThomasV notifications@github.com wrote:
|
fixed in 73d8ba2 |
Installed electrum 2.0 on my laptop and fired it up, noticing the following exception being raised. Wouldn't synchronise and trying to bring up the network dialog caused the app to lock up.
As a totally hacky test (and it turned out to work) in
network.py
, I just added a small sleep in to ensure the network threads had time to initialize. I'm sure there's a cleaner way so I'm not going to pull request this hack 😸The text was updated successfully, but these errors were encountered: