Increased number of cycles when displaying interpolation log. in simulator

This commit is contained in:
Klaus Basan
2018-06-03 23:42:37 +02:00
parent 6664e8a8ca
commit f3a7eef458
2 changed files with 3 additions and 2 deletions

View File

@@ -823,7 +823,7 @@ namespace BlackCore
const QPointer<CSimulatorCommon> myself(this);
QTimer::singleShot(t, this, [ = ]
{
if (myself.isNull()) { return; }
if (myself.isNull() || myself->isShuttingDown()) { return; }
this->displayLoggedSituationInSimulator(cs, stopLogging, times - 1);
});
}