mirror of https://github.com/mpv-player/mpv
parent
6e4971f697
commit
4d001bb30d
|
@ -1063,7 +1063,7 @@ void vo_wayland_uninit(struct vo *vo)
|
|||
|
||||
mp_input_put_key(wl->vo->input_ctx, MP_INPUT_RELEASE_ALL);
|
||||
|
||||
if (wl->current_output->output)
|
||||
if (wl->current_output && wl->current_output->output)
|
||||
wl_output_destroy(wl->current_output->output);
|
||||
|
||||
if (wl->cursor_theme)
|
||||
|
|
Loading…
Reference in New Issue