Commit 9aaaf96a authored by Leandro Ribeiro's avatar Leandro Ribeiro Committed by Pekka Paalanen

compositor: destroy log context only after the destruction of subscribers

Before commit "weston-log: destroy subscriptions with
destruction of subscribers", we had to destroy subscribers
before the log context. Currently there's no required order,
both are valid.

But since we've created log context before the subscribers,
we can destroy it after them. This is a style change and
also a prove that now this order is valid as well.
Signed-off-by: default avatarLeandro Ribeiro <>
parent 97d2d699
......@@ -3380,9 +3380,9 @@ out:
protocol_scope = NULL;
log_scope = NULL;
for (i = ARRAY_LENGTH(signals) - 1; i >= 0; i--)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment