()
| 3931 | # close() blocks until the channel closes, which never happens here (l1 |
| 3932 | # disconnects after WIRE_SHUTDOWN and won't reconnect), so fire and forget. |
| 3933 | def do_close(): |
| 3934 | try: |
| 3935 | l1.rpc.close(l2.info['id'], destination=close_addr) |
| 3936 | except RpcError: |
| 3937 | pass |
| 3938 | threading.Thread(target=do_close, daemon=True).start() |
| 3939 | |
| 3940 | # l2 receives the shutdown and persists the script. Don't wait on |