summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerDaemon/src/main.cpp')
-rwxr-xr-xAudioManagerDaemon/src/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/AudioManagerDaemon/src/main.cpp b/AudioManagerDaemon/src/main.cpp
index b9eade1..b5eed1c 100755
--- a/AudioManagerDaemon/src/main.cpp
+++ b/AudioManagerDaemon/src/main.cpp
@@ -267,7 +267,10 @@ static void signalHandler(int sig, siginfo_t *siginfo, void *context)
logError("signal handler was called, exit now...");
gDispatchDone = 1;
//todo: maually fire the mainloop
- exit(1);
+ CAmControlSender::CallsetControllerRundown();
+
+ //todo: Maybe we can remove this here in a productive system. For now it's handy :-)
+ exit (-1);
}
void mainProgram()