Skip to content

Commit

Permalink
clean pool tasks at destruction
Browse files Browse the repository at this point in the history
  • Loading branch information
Punzo committed Oct 2, 2023
1 parent e5909ac commit b0f8539
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Libs/DICOM/Core/ctkDICOMTaskPool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ ctkDICOMTaskPool::ctkDICOMTaskPool(QObject* parentObject)
//------------------------------------------------------------------------------
ctkDICOMTaskPool::~ctkDICOMTaskPool()
{
this->waitForFinish();
}

//----------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@
<item>
<widget class="ctkPushButton" name="ClosePushButton">
<property name="text">
<string> Close</string>
<string> Close</string>
</property>
<property name="icon">
<iconset resource="ctkDICOMWidget.qrc">
Expand Down

0 comments on commit b0f8539

Please sign in to comment.