3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-26 19:55:27 +02:00

Fixed possible crashes/freezes on input audio switch

This commit is contained in:
Vladyslav Stelmakhovskyi 2017-05-11 15:41:07 +02:00
parent f963233a7b
commit 4290eb21ea

View file

@ -1403,7 +1403,7 @@ bool AudioClient::switchInputToAudioDevice(const QAudioDeviceInfo& inputDeviceIn
_audioInput->stop();
_inputDevice = NULL;
delete _audioInput;
_audioInput->deleteLater();
_audioInput = NULL;
_numInputCallbackBytes = 0;