dey-examples: cloudconnector: remove not need 'wait_for_ccimp_threads()'
Connector creates detached threads and calling to 'wait_for_ccimp_threads()' is not required. See commit d34ddfb719932ae59774b388579b7d6a77472c4f in 'cc_dey' repository. Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
This commit is contained in:
parent
5f466b2af1
commit
bd684cec15
|
|
@ -36,7 +36,6 @@ static void sigint_handler(int signum)
|
|||
static void graceful_shutdown(void)
|
||||
{
|
||||
stop_cloud_connection();
|
||||
wait_for_ccimp_threads();
|
||||
}
|
||||
|
||||
static void add_sigkill_signal(void)
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@ static void graceful_shutdown(void)
|
|||
|
||||
running = 0;
|
||||
stop_cloud_connection();
|
||||
wait_for_ccimp_threads();
|
||||
}
|
||||
|
||||
static void add_sigkill_signal(void)
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ static void sigint_handler(int signum)
|
|||
static void graceful_shutdown(void)
|
||||
{
|
||||
stop_cloud_connection();
|
||||
wait_for_ccimp_threads();
|
||||
}
|
||||
|
||||
static void add_sigkill_signal(void)
|
||||
|
|
|
|||
Loading…
Reference in New Issue