event/MultiSocketMonitor: add method Reset()
This commit is contained in:
@@ -98,12 +98,8 @@ public:
|
||||
}
|
||||
|
||||
~AlsaInputStream() {
|
||||
/* ClearSocketList must be called from within the
|
||||
IOThread; if we don't do it manually here, the
|
||||
~MultiSocketMonitor() will do it in the current
|
||||
thread */
|
||||
BlockingCall(MultiSocketMonitor::GetEventLoop(), [this](){
|
||||
ClearSocketList();
|
||||
MultiSocketMonitor::Reset();
|
||||
});
|
||||
|
||||
snd_pcm_close(capture_handle);
|
||||
|
Reference in New Issue
Block a user