diff options
author | christian linke <christian.linke@bmw.de> | 2012-11-29 16:00:05 +0100 |
---|---|---|
committer | christian linke <christian.linke@bmw.de> | 2012-11-29 16:00:05 +0100 |
commit | 104255615d643a2278d8430a876413793563ab36 (patch) | |
tree | 2c668a14657fdf14fae39ecfd583b75dc69bc1da /AudioManagerDaemon/src/CAmControlReceiver.cpp | |
parent | 5bdad323a9b70758b1076cdef1622d71325d2e52 (diff) | |
download | audiomanager-104255615d643a2278d8430a876413793563ab36.tar.gz |
* make AudioManager rundown cleaner. Now an extra created pipe is used to trigger the mainloop one last time before the AudioManager exits.
Signed-off-by: christian linke <christian.linke@bmw.de>
Diffstat (limited to 'AudioManagerDaemon/src/CAmControlReceiver.cpp')
-rw-r--r-- | AudioManagerDaemon/src/CAmControlReceiver.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/AudioManagerDaemon/src/CAmControlReceiver.cpp b/AudioManagerDaemon/src/CAmControlReceiver.cpp index 2ee225a..f78a0f3 100644 --- a/AudioManagerDaemon/src/CAmControlReceiver.cpp +++ b/AudioManagerDaemon/src/CAmControlReceiver.cpp @@ -483,12 +483,7 @@ void CAmControlReceiver::confirmControllerReady() void CAmControlReceiver::confirmControllerRundown() { - logInfo ("CAmControlReceiver::confirmControllerRundown(), exiting regularly"); - //once the controller is ready, it will exit. - CAmDltWrapper* inst(getWrapper()); - inst->deinit(); - exit (0); - //todo: one time implement here system interaction with NSM + logInfo ("CAmControlReceiver::confirmControllerRundown(), will exit now"); } am_Error_e CAmControlReceiver::getSocketHandler(CAmSocketHandler *& socketHandler) |