[PATCH] Fix mutex hang in colord on output removal

Olivier Fourdan ofourdan at redhat.com
Thu Jan 15 06:40:02 PST 2015


On 15/01/15 15:31, Richard Hughes wrote:
> How come this is removed too? I think I'd rather it stayed so we show 
> a warning rather than explode in a ball of fire.

"ocms" is taken from the container now (that was the casting error), so 
no need for the lookup from cms as we already have it.

And if "ocms" is NULL, we're long dead, means that:

+	struct cms_output *ocms =
+		container_of(listener, struct cms_output, destroy_listener);


Was null.






More information about the wayland-devel mailing list