mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 16:39:29 -05:00
added missing lock in RsSharedPtr destructor
This commit is contained in:
parent
64b9e3477a
commit
aa93505860
@ -65,7 +65,9 @@ public:
|
||||
|
||||
~RsSharedPtr()
|
||||
{
|
||||
lock();
|
||||
DecrementAndDeleteIfLast();
|
||||
unlock();
|
||||
}
|
||||
private:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user