Skip to content

Commit f12e155

Browse files
committed
close cli
1 parent 9bb634c commit f12e155

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

node.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ func (n *Node) SetBalance(account common.Address, balance *big.Int) error {
8787
// Stop stops the anvil node
8888
func (n *Node) Stop() error {
8989
n.running.Store(false)
90+
n.cli.Close()
9091
return n.cmd.Process.Kill()
9192
}
9293

0 commit comments

Comments
 (0)