Skip to content

Commit

Permalink
Merge pull request EOSIO#3 from nathanhourt/master
Browse files Browse the repository at this point in the history
Clear indexes on close()
  • Loading branch information
bytemaster authored Apr 6, 2017
2 parents 34d8f63 + a5ed230 commit c038312
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/chainbase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ namespace chainbase {
{
_segment.reset();
_meta.reset();
_index_list.clear();
_index_map.clear();
_data_dir = bfs::path();
}

Expand Down

0 comments on commit c038312

Please sign in to comment.