Skip to content

client: Use stderr instead of wl_log() for proxies warnings

Since commit b01a85df, the client code now warns about attached proxies on default queue destruction.

The intention is definitely laudable, but it does so by using wl_log() which on must clients and toolkits will trigger a crash (called from wl_log_set_handler_client()) so further log messages will be lost (among those is the list of actual proxies still attached).

To avoid both the crash and losing the following (important) information, log to stderr instead of using wl_log().

That mitigates the risk of crashing clients with what is essentially a warning aimed at developers.

Fixes: b01a85df - client: Do not warn about attached proxies on default queue destruction. Signed-off-by: Olivier Fourdan ofourdan@redhat.com

Merge request reports