mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-27 00:08:54 -04:00
UI: Fix crash in YoutubeAuth
YoutubeAuth::chat is a raw pointer that is uninitialized. Most of the time it doesn't matter, since the object it points to is created at the application start. However, in case of Wayland (Linux), CEF is not initialized (because it's not supported) and the chat object will never get created. This patch fixes crash on Wayland by initializing `chat` to `nullptr`. Co-authored-by: Roman Podoliaka <roman.podoliaka@gmail.com>
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f