010 guarded withdrawal

✓ Passing This code compiles and runs correctly.

Code

input.kz

Actual

close-query() ran for 'query_1'
[BRIDGE] Invoked 'close-query' for handle 'query_1' [main:queried]
close-file() ran for 'file_1'
[BRIDGE] Invoked 'close-file' for handle 'file_1' [main:opened]
held before hang-up: 2

Expected output

close-query() ran for 'query_1'
[BRIDGE] Invoked 'close-query' for handle 'query_1' [main:queried]
close-file() ran for 'file_1'
[BRIDGE] Invoked 'close-file' for handle 'file_1' [main:opened]
held before hang-up: 2

Flows

flow ~register click a branch to expand · @labels scroll to their anchor
register (scope: "files", source: open(10) query(10) close-file(1) close-query(1))
flow ~create click a branch to expand · @labels scroll to their anchor
create (id: "session-1", scope: "files")

Test Configuration

MUST_RUN