2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Possibly fix a crash in microphone testing.

This commit is contained in:
John Preston
2019-03-20 13:00:38 +04:00
parent 6ff8c1de05
commit be53cb027c

View File

@@ -348,8 +348,8 @@ void Calls::startTestingMicrophone() {
_micTester = std::make_unique<tgvoip::AudioInputTester>(
Global::CallInputDeviceID().toStdString());
if (_micTester->Failed()) {
Ui::show(Box<InformBox>(lang(lng_call_error_audio_io)));
stopTestingMicrophone();
Ui::show(Box<InformBox>(lang(lng_call_error_audio_io)));
}
}