Skip to content

Commit

Permalink
Avoid assert on BufferManager destruction
Browse files Browse the repository at this point in the history
Co-authored-by: Andrei Tumbar <andreitumbar@gmail.com>
  • Loading branch information
Kronos3 and Kronos3 committed Apr 12, 2022
1 parent ca4c96f commit 582f180
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Svc/BufferManager/BufferManagerComponentImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ namespace Svc {
BufferManagerComponentImpl ::
~BufferManagerComponentImpl()
{
this->cleanup();
if (m_setup) {
this->cleanup();
}
}

void BufferManagerComponentImpl ::
Expand Down

0 comments on commit 582f180

Please sign in to comment.