mirror of https://github.com/CGAL/cgal
Fix memory leak by resetting unique ptr instead of releasing
This commit is contained in:
parent
590aa1b4a6
commit
e0ee8aaf42
|
|
@ -228,7 +228,7 @@ public:
|
|||
{
|
||||
#ifdef CGAL_LINKED_WITH_TBB
|
||||
m_tasks->wait();
|
||||
m_tasks.release();
|
||||
m_tasks.reset();
|
||||
m_adders.clear();
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue