sink: don't sync monitor suspend state when unlinking 68/178068/1
authorTanu Kaskinen <tanuk@iki.fi>
Thu, 22 Feb 2018 08:06:59 +0000 (10:06 +0200)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 8 May 2018 04:34:48 +0000 (13:34 +0900)
commit52fd28ea2fb25fe712cac7c19d392df80767314c
treeb67059c015bd8cdcabc983313fdcc8f12315a6d7
parentc8dd742a036cede706716f055b6900ea7531da44
sink: don't sync monitor suspend state when unlinking

When the sink is unlinked, there's no need to update the monitor suspend
state. In fact, trying to do that causes an assertion failure, because
pa_source_sync_suspend() wasn't written to handle the case where the
sink is unlinked.

Change-Id: I6352eee5ec9b5b59234b738997f9c055a33b8a76
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
src/pulsecore/sink.c