pulse: guard against NULL core

See #365
This commit is contained in:
Wim Taymans 2020-11-04 17:41:40 +01:00
parent b8c7b36d3b
commit 7a43769648

View file

@ -322,6 +322,7 @@ static void do_global_sync(struct global *g)
static void global_sync(struct global *g)
{
pa_context *c = g->context;
if (c->core != NULL)
c->pending_seq = pw_core_sync(c->core, PW_ID_CORE, c->pending_seq);
g->sync = true;
}