I've builded a C++ application which uses DLT on linux target. I catch the ^C event with a signal handler, unregister app and all contexts and then simply exit(1);
If I kill my application with ctrl+C while the dlt-daemon is running everything works properly, but if I start and then kill my application while dlt-daemon is not running, the exit is delayed about 10 seconds and if I keep pressing ctrl+C few times the terminal get stuck.
What can I do in my code in order to kill the application immediately?
I would like to correct some points:
Regards