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

Commit a6f1492

Browse files
committed
disconnect from connections that are not meant for us
1 parent fc1b779 commit a6f1492

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pugdebug/server.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ def __listen(self, socket_server):
9191
self.new_connection_established_signal.emit(
9292
connection
9393
)
94+
else:
95+
connection.disconnect()
9496
except socket.timeout:
9597
pass
9698

0 commit comments

Comments
 (0)