mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-11 16:55:33 +00:00
server/red_worker: turn critical (assert) non error into warning
The situation causing this assert is unknown but it doesn't cause correctness issues with later rendering, and it is causing an abort.
This commit is contained in:
parent
97459ddfdb
commit
f844a995bb
@ -11367,7 +11367,10 @@ static void red_push_monitors_config(DisplayChannelClient *dcc)
|
||||
{
|
||||
MonitorsConfig *monitors_config = DCC_TO_WORKER(dcc)->monitors_config;
|
||||
|
||||
spice_return_if_fail(monitors_config != NULL);
|
||||
if (monitors_config == NULL) {
|
||||
spice_warning("monitors_config is NULL");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!red_channel_client_test_remote_cap(&dcc->common.base,
|
||||
SPICE_DISPLAY_CAP_MONITORS_CONFIG)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user