Experimental commit for issue #337; valgrind fixes.
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
#include "HtmlHelper.hpp"
|
||||
#include <thread>
|
||||
#include <atomic>
|
||||
#include "AlsaDriver.hpp"
|
||||
|
||||
#include <signal.h>
|
||||
#include <semaphore.h>
|
||||
@@ -422,6 +423,8 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
Lv2Log::info("Shutdown complete.");
|
||||
|
||||
FreeAlsaGlobals();
|
||||
|
||||
if (systemd)
|
||||
{
|
||||
sd_notify(0, "STOPPING=1");
|
||||
|
||||
Reference in New Issue
Block a user