mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
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:
parent
87a6645875
commit
8522b11e37
@ -142,6 +142,7 @@ void Startup::stop() {
|
||||
|
||||
|
||||
Startup::Startup()
|
||||
: listener(nullptr)
|
||||
{
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user