mirror of https://github.com/hyprwm/aquamarine.git
backend: avoid crashing on session-less
This commit is contained in:
parent
70f4321a93
commit
6cfa0652c8
|
@ -122,7 +122,7 @@ bool Aquamarine::CBackend::start() {
|
||||||
b->onReady();
|
b->onReady();
|
||||||
}
|
}
|
||||||
|
|
||||||
sessionFDs = session->pollFDs();
|
sessionFDs = session ? session->pollFDs() : std::vector<int>{};
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue