mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-26 07:38:09 +00:00
Prevent crash on linphone-daemon exit if streams are running.
This commit is contained in:
parent
adb7c56ac0
commit
3758303baf
1 changed files with 1 additions and 1 deletions
|
|
@ -579,7 +579,7 @@ void Daemon::quit() {
|
|||
Daemon::~Daemon() {
|
||||
uninitCommands();
|
||||
|
||||
for (std::map<int, AudioStream *>::iterator it = mAudioStreams.begin(); it != mAudioStreams.end();) {
|
||||
for (std::map<int, AudioStream *>::iterator it = mAudioStreams.begin(); it != mAudioStreams.end(); ++it) {
|
||||
audio_stream_stop(it->second);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue