Fix daemon crash during shutdown.

This commit is contained in:
casey langen 2023-01-01 19:29:37 -08:00
parent 43ee957520
commit 74df004c9b
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
0.99.4
* fixed bug where `musikcubed` could crash while stopping.
* added `dark mode` awareness to Windows build.
* added `PortAudio` output driver.
* added support for Haiku OS.

View File

@ -299,7 +299,9 @@ int main(int argc, char** argv) {
library->Indexer()->Shutdown();
}
LibraryFactory::Instance().Shutdown();
plugin::Shutdown();
debug::Shutdown();
remove(getLockfileFn().c_str());
}