mirror of
https://github.com/yshui/picom.git
synced 2025-04-07 17:44:04 -04:00
core: fix assertion failure when blur context failed to initialize
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
8eb9d07fa8
commit
9b419ce37d
1 changed files with 2 additions and 0 deletions
|
@ -740,6 +740,8 @@ static bool initialize_backend(session_t *ps) {
|
|||
|
||||
if (!initialize_blur(ps)) {
|
||||
log_fatal("Failed to prepare for background blur, aborting...");
|
||||
ps->backend_data->ops->deinit(ps->backend_data);
|
||||
ps->backend_data = NULL;
|
||||
quit_compton(ps);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue