mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-12-22 17:09:48 +01:00
backend: avoid crashing on session-less
This commit is contained in:
parent
70f4321a93
commit
6cfa0652c8
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ bool Aquamarine::CBackend::start() {
|
|||
b->onReady();
|
||||
}
|
||||
|
||||
sessionFDs = session->pollFDs();
|
||||
sessionFDs = session ? session->pollFDs() : std::vector<int>{};
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue