Skip to content
Snippets Groups Projects
Unverified Commit a7e6fcca authored by Silas Davis's avatar Silas Davis Committed by GitHub
Browse files

Merge pull request #760 from silasdavis/develop

Flush events after hashing to fix timing issue in test
parents 93e2f573 83e04081
No related branches found
No related tags found
No related merge requests found
...@@ -147,7 +147,7 @@ func (exe *executor) Commit() (hash []byte, err error) { ...@@ -147,7 +147,7 @@ func (exe *executor) Commit() (hash []byte, err error) {
return nil, err return nil, err
} }
// flush events to listeners // flush events to listeners
exe.eventCache.Flush() defer exe.eventCache.Flush()
return exe.state.Hash(), nil return exe.state.Hash(), nil
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment