detect recursive throw_resource_error and panic instead of causing a segmentation fault
This commit is contained in:
@@ -74,6 +74,7 @@ pub struct MachineState {
|
||||
pub(super) cp: usize,
|
||||
pub(super) attr_var_init: AttrVarInitializer,
|
||||
pub(super) fail: bool,
|
||||
pub throwing_resource_error: bool,
|
||||
pub heap: Heap,
|
||||
pub(super) mode: MachineMode,
|
||||
pub(crate) stack: Stack,
|
||||
|
||||
Reference in New Issue
Block a user