Skip to content
This repository was archived by the owner on Aug 28, 2020. It is now read-only.

Commit 0d3eb31

Browse files
committed
disconnect when an OSError happens in the connection
1 parent a4b4253 commit 0d3eb31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pugdebug/server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ def run(self):
225225
response = self.__evaluate_expression(expression)
226226
self.expression_evaluated_signal.emit(index, response)
227227
except OSError as error:
228+
self.disconnect()
228229
self.connection_error_signal.emit(action, error.strerror)
229230

230231
self.mutex.unlock()

0 commit comments

Comments
 (0)