Fixed #13
This commit is contained in:
parent
a9fdff0663
commit
9803a393d4
|
@ -129,9 +129,11 @@ impl<H: HostInterface> ExecEnv<H> {
|
||||||
}),
|
}),
|
||||||
}?;
|
}?;
|
||||||
|
|
||||||
|
while self.finalisers.len() != 0 {
|
||||||
for block in std::mem::take(&mut self.finalisers) {
|
for block in std::mem::take(&mut self.finalisers) {
|
||||||
self.eval_stmts_hs(&block, true)?;
|
self.eval_stmts_hs(&block, true)?;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue