Skip to content

Commit

Permalink
fix: sc thread not closing after connection closed
Browse files Browse the repository at this point in the history
  • Loading branch information
Xlin123 committed May 2, 2024
1 parent 816bf50 commit ad5d82d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/python/sshnpd/sshnpd.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def connect(self):
print("Connection closed.")
sockets_to_monitor.remove(sock)
sock.close()
return
elif not data:
timeout += 1
sleep(0.1)
Expand Down

0 comments on commit ad5d82d

Please sign in to comment.