mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
do not close output in unsubscribeInput and cleanup input internally instead
This commit is contained in:
parent
26fc424986
commit
2ce92be94b
@ -167,7 +167,7 @@ void Audio::unsubscribeInput()
|
|||||||
if (inputSubscriptions > 0)
|
if (inputSubscriptions > 0)
|
||||||
inputSubscriptions--;
|
inputSubscriptions--;
|
||||||
|
|
||||||
if (!inputSubscriptions) {
|
if (!inputSubscriptions)
|
||||||
cleanupInput();
|
cleanupInput();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user