Commit 1569d422 authored by Iuri Matias's avatar Iuri Matias

re-add revert on context change

parent 12ff79a1
......@@ -186,6 +186,9 @@ function ExecutionContext () {
if (context === 'vm') {
executionContext = context
vms.constantinople.stateManager.revert(() => {
vms.constantinople.stateManager.checkpoint(() => {})
})
self.event.trigger('contextChanged', ['vm'])
return cb()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment