Skip to content

Commit

Permalink
Fix close command with hardcoded length
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsbuwen committed Apr 23, 2024
1 parent c58774c commit b29d501
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 b29d501

Please sign in to comment.