chore: disable the NewDeleteLeaks clang analyzer check
This seems to provide a false positives with the QTimer::singleShot, this would fix the CI.master
parent
ad4308793b
commit
12375e997a
|
@ -790,6 +790,7 @@ namespace accounts
|
|||
if (job) {
|
||||
Q_ASSERT_X(job == m_current, Q_FUNC_INFO, "sender() should match 'current' job!");
|
||||
QObject::disconnect(this, &Dispatcher::dispatch, job, &AccountJob::run);
|
||||
// NOLINTNEXTLINE(clang-analyzer-cplusplus.NewDeleteLeaks): False positives with QTimer::singleShot
|
||||
QTimer::singleShot(0, job, &AccountJob::deleteLater);
|
||||
m_current = nullptr;
|
||||
dispatchNext();
|
||||
|
|
Loading…
Reference in New Issue