Skip to content

Commit 299a6cc

Browse files
committed
close socket before exiting to clean up connection state. needed by pyfantom backend.
1 parent f9e7086 commit 299a6cc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/nxt_push

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,4 @@ Usage: nxt_push [--host <macaddress>] <file>'''
5050
brick = nxt.locator.find_one_brick(keyword_arguments.get('host',None))
5151
for filename in arguments:
5252
write_file(brick, filename)
53+
brick.sock.close()

0 commit comments

Comments
 (0)