Process all pending NetworkVatlib tasks before logging off

This commit is contained in:
Roland Winklmeier
2017-01-22 19:17:25 +01:00
committed by Mathew Sutcliffe
parent 9e56213633
commit 9ccec07c36

View File

@@ -457,6 +457,8 @@ namespace BlackCore
stopPositionTimers(); stopPositionTimers();
if (m_net && isConnected()) if (m_net && isConnected())
{ {
// Process all pending tasks before logging off
process();
Vat_Logoff(m_net.data()); Vat_Logoff(m_net.data());
} }
} }