Bugfix: packet_log file would be overwritten at the end of a run.

This commit is contained in:
hiker 2014-09-25 17:19:55 +10:00
parent 679a6a7676
commit cccf86e6a6

View File

@ -79,7 +79,9 @@ void NetworkManager::reset()
void NetworkManager::abort()
{
m_localhost->stopListening();
reset();
// FIXME: Why a reset here? This creates a new stk_host, which will open
// a new packet_log file (and therefore delete the previous file)???
// reset();
ProtocolManager::getInstance()->abort();
}