mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-25 18:25:42 +08:00
[AFV] Ref T730, added graceful shutdown in AFV client itself
Also disconnect from network during "shutdown"
This commit is contained in:
@@ -105,8 +105,7 @@ namespace BlackCore
|
||||
{
|
||||
if (m_voiceClient)
|
||||
{
|
||||
m_voiceClient->stopAudio();
|
||||
m_voiceClient->quitAndWait();
|
||||
m_voiceClient->gracefulShutdown();
|
||||
Q_ASSERT_X(CThreadUtils::isCurrentThreadObjectThread(m_voiceClient), Q_FUNC_INFO, "Needs to be back in current thread");
|
||||
m_voiceClient = nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user