DB: Add traffic assert.

This commit is contained in:
Nodir Temirkhodjaev 2017-12-08 20:00:48 +05:00
parent 9198849fe7
commit 928368e6e2

View File

@ -55,6 +55,8 @@ void DatabaseManager::logProcNew(const QString &appPath, bool &isNew)
void DatabaseManager::logStatTraf(quint16 procCount, const quint8 *procBits,
const quint32 *trafBytes)
{
Q_ASSERT(procCount == m_appIds.size());
QVector<quint16> delProcIndexes;
const qint64 unixTime = DateUtil::getUnixTime();