1
0
Fork 0
mirror of https://git.wownero.com/wownero/wownero.git synced 2024-08-15 01:03:23 +00:00

Merge pull request

0cfd2ae5 mlocker: fix dtor ordering problem (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2018-11-16 11:06:09 +02:00
commit 42dbb3aa1b
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -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()
{