diff --git a/scwx-qt/source/scwx/qt/manager/placefile_manager.cpp b/scwx-qt/source/scwx/qt/manager/placefile_manager.cpp index 16aefcdd..77344524 100644 --- a/scwx-qt/source/scwx/qt/manager/placefile_manager.cpp +++ b/scwx-qt/source/scwx/qt/manager/placefile_manager.cpp @@ -45,7 +45,7 @@ public: class PlacefileRecord; explicit Impl(PlacefileManager* self) : self_ {self} {} - ~Impl() {} + ~Impl() { threadPool_.join(); } void InitializePlacefileSettings(); void ReadPlacefileSettings(); diff --git a/scwx-qt/source/scwx/qt/map/placefile_layer.cpp b/scwx-qt/source/scwx/qt/map/placefile_layer.cpp index 7e9303f4..f29d63e4 100644 --- a/scwx-qt/source/scwx/qt/map/placefile_layer.cpp +++ b/scwx-qt/source/scwx/qt/map/placefile_layer.cpp @@ -42,7 +42,7 @@ public: { ConnectSignals(); } - ~Impl() = default; + ~Impl() { threadPool_.join(); } void ConnectSignals();