Library: fix a crash at exit when server is disabled

Startup::stop() called from LibraryWindow::closeEvent() crashes if
listener is not initialized.
This commit is contained in:
Igor Kushnir 2019-05-19 13:42:16 +03:00
parent 87a6645875
commit 8522b11e37

View File

@ -142,6 +142,7 @@ void Startup::stop() {
Startup::Startup()
: listener(nullptr)
{
}