Wait for terminating sub thread when vc client is deinitialized 23/320323/1 accepted/tizen/unified/20241114.092409
authorurmain <wn.jang@samsung.com>
Wed, 13 Nov 2024 02:38:23 +0000 (11:38 +0900)
committerTizen AI <ai.tzn.sec@samsung.com>
Wed, 13 Nov 2024 06:55:06 +0000 (15:55 +0900)
commit5e903d1ba19625ce445e7176c1a1a8bc0d597729
treebdab582da88798c8971a680faca6b39efb25ed6d
parent8ee299f28e6b92d28fd0a02e43f782db5167fa41
Wait for terminating sub thread when vc client is deinitialized

Casuse: The crash was happened when application had called vc_deinitialize()
function because g_prepare_thread had been alived.

Change-Id: I7e171f01bff1152097918b70d1564b25923e20b7
Solution: Wait for terminating g_prepare thread after cancelling.
client/vc.c