context: small cleanups

This commit is contained in:
Wim Taymans 2018-12-14 16:41:19 +01:00
parent c9ac5e6e1e
commit b177f1d146
3 changed files with 38 additions and 19 deletions

View file

@ -129,6 +129,7 @@ void pa_operation_cancel(pa_operation *o)
{
pa_assert(o);
pa_assert(o->refcount >= 1);
pw_log_debug("%p %d", o, o->seq);
operation_set_state(o, PA_OPERATION_CANCELED);
}