mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
Process all pending NetworkVatlib tasks before logging off
This commit is contained in:
committed by
Mathew Sutcliffe
parent
9e56213633
commit
9ccec07c36
@@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user