Merge pull request #4785

0cfd2ae5 mlocker: fix dtor ordering problem (moneromooo-monero)
pull/127/head
Riccardo Spagni 6 years ago
commit 42dbb3aa1b
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

@ -84,8 +84,8 @@ namespace epee
boost::mutex &mlocker::mutex()
{
static boost::mutex vmutex;
return vmutex;
static boost::mutex *vmutex = new boost::mutex();
return *vmutex;
}
std::map<size_t, unsigned int> &mlocker::map()
{

Loading…
Cancel
Save