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
|
@ -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…
Reference in New Issue