cmd_send_blocking: close the transit when we're done
This commit is contained in:
parent
5e928ac9f0
commit
d14d35f3cd
|
@ -96,6 +96,7 @@ def _send_file_blocking(w, appid, them_phase1, fd_to_send, transit_sender):
|
|||
|
||||
print("File sent.. waiting for confirmation")
|
||||
ack = record_pipe.receive_record()
|
||||
record_pipe.close()
|
||||
if ack == b"ok\n":
|
||||
print("Confirmation received. Transfer complete.")
|
||||
return 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user