Skip to content

Commit 62ca226

Browse files
committed
kevm-pyk/__main__: close rpc server upon stepping into worker thread
1 parent 0408242 commit 62ca226

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kevm-pyk/src/kevm_pyk/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ def prove_it(id_cfg_port: Tuple[str, Tuple[KCFG, Path], int]) -> bool:
445445
return False
446446

447447
with ProcessPool(ncpus=workers) as process_pool:
448+
foundry.close_kore_rpc()
448449
proof_problems = [(k, v, 3010 + i) for i, (k, v) in enumerate(kcfgs.items())]
449450
results = process_pool.map(prove_it, proof_problems)
450451
process_pool.close()

0 commit comments

Comments
 (0)