backend: avoid crashing on session-less

This commit is contained in:
Vaxry 2024-06-25 19:59:34 +02:00
parent 70f4321a93
commit 6cfa0652c8
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }