mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-09 15:59:25 -04:00
added missing lock in RsSharedPtr destructor
This commit is contained in:
parent
64b9e3477a
commit
aa93505860
1 changed files with 2 additions and 0 deletions
|
@ -65,7 +65,9 @@ public:
|
||||||
|
|
||||||
~RsSharedPtr()
|
~RsSharedPtr()
|
||||||
{
|
{
|
||||||
|
lock();
|
||||||
DecrementAndDeleteIfLast();
|
DecrementAndDeleteIfLast();
|
||||||
|
unlock();
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue