Browse Source

Always remove at this point

unifiedWindowUI
Luke Murphy 4 years ago
parent
commit
724f665753
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 3
      dropship/wormhole.py

3
dropship/wormhole.py

@ -30,9 +30,10 @@ async def wormhole_recv(code, parent, task_status=TASK_STATUS_IGNORED):
task_status.started((scope,))
log.info(f"wormhole_recv: now starting receiving process ({code})")
await process.wait()
parent._remove_pending_transfer(code)
log.info(f"wormhole_recv: succesfully received ({code})")
if scope.cancel_called:
process.terminate()
log.info(f"wormhole_recv: succesfully terminated process ({code})")
parent._remove_pending_transfer(code)

Loading…
Cancel
Save