init state at each reload

pull/7/head
yann300 7 years ago
parent 415b1cf16e
commit 1e65fec816
  1. 2
      src/ui/SolidityState.js

@ -19,6 +19,8 @@ function SolidityState (_parent, _traceManager, _codeManager, _solidityProxy) {
this.init()
this.view
this.stateVariablesByAddresses = {}
_parent.event.register('traceUnloaded', () => { this.stateVariablesByAddresses = {} })
_parent.event.register('newTraceLoaded', () => { this.stateVariablesByAddresses = {} })
}
SolidityState.prototype.render = function () {

Loading…
Cancel
Save