mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-13 00:57:31 -05:00
#30 - cleanup
This commit is contained in:
@@ -277,7 +277,13 @@ public abstract class AudioBroadcaster implements IAudioPacketListener
|
||||
|
||||
if(!connected())
|
||||
{
|
||||
mAudioRecordingQueue.clear();
|
||||
StreamableAudioRecording recording = mAudioRecordingQueue.poll();
|
||||
|
||||
while(recording != null)
|
||||
{
|
||||
removeRecording(recording);
|
||||
recording = mAudioRecordingQueue.poll();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user