This commit is contained in:
Erin 2022-09-14 21:50:04 +02:00 committed by ondra05
parent d9e6dc4e36
commit e1c20c0e8a

View file

@ -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(())
}