wallet: Make PeriodicFlush uninterruptible

This commit is contained in:
MarcoFalke committed 2020-05-26 19:56:43 -04:00
1 parent dcacea096e
commit 5555d978b0
1 file changed
-3
-3
View File
@@ -14,8 +14,6 @@
#include <sys/stat.h> #include <sys/stat.h>
#endif #endif
#include <boost/thread.hpp>
namespace { namespace {
//! Make sure database has a unique fileid within the environment. If it //! Make sure database has a unique fileid within the environment. If it
@@ -824,7 +822,6 @@ bool BerkeleyBatch::PeriodicFlush(BerkeleyDatabase& database)
if (nRefCount == 0) if (nRefCount == 0)
{ {
boost::this_thread::interruption_point();
std::map<std::string, int>::iterator mi = env->mapFileUseCount.find(strFile); std::map<std::string, int>::iterator mi = env->mapFileUseCount.find(strFile);
if (mi != env->mapFileUseCount.end()) if (mi != env->mapFileUseCount.end())
{ {