Fixed #13
parent
1bb33066ed
commit
b7c9a4b74d
|
@ -129,9 +129,11 @@ impl<H: HostInterface> ExecEnv<H> {
|
|||
}),
|
||||
}?;
|
||||
|
||||
while self.finalisers.len() != 0 {
|
||||
for block in std::mem::take(&mut self.finalisers) {
|
||||
self.eval_stmts_hs(&block, true)?;
|
||||
}
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue