Permalink
Browse files

stop long polling on failed authorization

  • Loading branch information...
1 parent c890423 commit 27123d44591d75bb528aa9d9c76c439aa4bc3e86 @m0mchil committed Oct 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 GetworkSource.py
View
@@ -173,7 +173,7 @@ def send_internal(self, result, nonce):
def long_poll_thread(self):
last_host = None
while True:
- if self.should_stop:
+ if self.should_stop or self.authorization_failed:
return
url = self.long_poll_url

0 comments on commit 27123d4

Please sign in to comment.