mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 09:24:47 +00:00
Merge pull request #4785
0cfd2ae5
mlocker: fix dtor ordering problem (moneromooo-monero)
This commit is contained in:
commit
42dbb3aa1b
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue