Skip to content

Commit

Permalink
Make stopped an atomic variable (#1705)
Browse files Browse the repository at this point in the history
  • Loading branch information
wezrule authored and Russel Waters committed Feb 5, 2019
1 parent 8b99477 commit d85f29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nano/node/lmdb.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ class mdb_store : public block_store
boost::optional<MDB_val> block_raw_get_by_type (nano::transaction const &, nano::block_hash const &, nano::block_type &);
void block_raw_put (nano::transaction const &, MDB_dbi, nano::block_hash const &, MDB_val);
void clear (MDB_dbi);
bool stopped{ false };
std::atomic<bool> stopped{ false };
std::thread upgrades;
};
class wallet_value
Expand Down

0 comments on commit d85f29f

Please sign in to comment.