Don't wait - cancel - the pd estimate thread

.. it might take ages and we don't care about the results !
This commit is contained in:
Mark Liversedge
2014-06-13 16:26:11 +01:00
parent c77da956af
commit f9c87fbd0f

View File

@@ -117,7 +117,8 @@ RideSummaryWindow::RideSummaryWindow(Context *context, bool ridesummary) :
RideSummaryWindow::~RideSummaryWindow()
{
// wait for background thread if needed
// cancel background thread if needed
future.cancel();
future.waitForFinished();
}