[PATCH] Fix mutex hang in colord on output removal

Richard Hughes hughsient at gmail.com
Thu Jan 15 06:31:21 PST 2015


On 8 January 2015 at 14:40, Olivier Fourdan <ofourdan at redhat.com> wrote:
> This is because of a cast error, the type of container should be
> "cms_output" and not "cms_colord".

Good catch!

> -       ocms = g_hash_table_lookup(cms->devices, device_id);
> -       if (!ocms) {
> -               weston_log("colord: failed to delete device\n");
> -               goto out;
> -       }

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.

Richard


More information about the wayland-devel mailing list