Skip to content

Commit

Permalink
Merge pull request #260 from unihd-cag/fix-new-close
Browse files Browse the repository at this point in the history
Fix close command with hardcoded length
  • Loading branch information
TM90 authored Apr 23, 2024
2 parents c58774c + b29d501 commit b492b92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skillbridge/client/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def try_repair(self) -> Exception | str:

def close(self) -> None:
if self.connected:
self.socket.sendall(b' 5$close')
self.socket.sendall(b' 6$close')
self.socket.close()
self.connected = False

Expand Down

0 comments on commit b492b92

Please sign in to comment.