summaryrefslogtreecommitdiff
path: root/core/ops.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/ops.rs')
-rw-r--r--core/ops.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/ops.rs b/core/ops.rs
index ca465c821..b2442634e 100644
--- a/core/ops.rs
+++ b/core/ops.rs
@@ -179,6 +179,10 @@ impl OpState {
tracker: OpsTracker::new(ops_count),
}
}
+
+ pub fn clear_state(&mut self) {
+ self.gotham_state.clear();
+ }
}
impl Deref for OpState {