Skip to content

Commit

Permalink
fix crash for spectrum analyzer with GR backend (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
jopohl committed Dec 18, 2018
1 parent d42bdbf commit cb9b076
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/urh/dev/gr/SpectrumThread.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ def run(self):
while not self.isInterruptionRequested():
try:
rcvd += recv(32768) # Receive Buffer = 32768 Byte
except zmq.error.Again:
# timeout
continue
except (zmq.error.ContextTerminated, ConnectionResetError):
self.stop("Stopped receiving, because connection was reset")
return
Expand Down

0 comments on commit cb9b076

Please sign in to comment.