mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user