sink: don't sync monitor suspend state when unlinking
authorTanu Kaskinen <tanuk@iki.fi>
Thu, 22 Feb 2018 08:06:59 +0000 (10:06 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Thu, 22 Feb 2018 08:55:44 +0000 (10:55 +0200)
commitd6e39b5e891c767dd42c369d9f118560b8bb24ae
tree69bd78f29aae2ea0609153a895c6f1f7dccd86da
parent6ed37aeef28708f8da34a16c7035fa1331fa13cb
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.
src/pulsecore/sink.c