#6037 Replaced empty()->clear() mixup

This commit is contained in:
Andrew Nelless 2017-05-12 00:57:46 +01:00
parent 46231cd35c
commit 7deb5f04f3

View File

@ -80,7 +80,7 @@ IpcServer::~IpcServer()
for (it = m_clients.begin(); it != m_clients.end(); it++) { for (it = m_clients.begin(); it != m_clients.end(); it++) {
deleteClient(*it); deleteClient(*it);
} }
m_clients.empty(); m_clients.clear();
ARCH->unlockMutex(m_clientsMutex); ARCH->unlockMutex(m_clientsMutex);
ARCH->closeMutex(m_clientsMutex); ARCH->closeMutex(m_clientsMutex);