Fix the VD issue 79/104679/1 accepted/tizen/3.0/common/20161216.124021 accepted/tizen/3.0/ivi/20161216.084559 accepted/tizen/3.0/mobile/20161216.084548 accepted/tizen/3.0/tv/20161216.084555 submit/tizen_3.0/20161216.014143
authorHyeKyoung Hwang <cookie@samsung.com>
Wed, 14 Dec 2016 05:54:46 +0000 (14:54 +0900)
committerHyeKyoung Hwang <cookie@samsung.com>
Wed, 14 Dec 2016 05:54:46 +0000 (14:54 +0900)
Change-Id: I5cfe9816d42f18abaf233dc0d465b6d0bb19ed22
Signed-off-by: HyeKyoung Hwang <cookie@samsung.com>
common-adaptor/common-adaptor.c

index 229737a0b53bd37f08f04a594165797b469d77c8..8a3a365b6ad9f142dbccde95134ed8aa469f5dd0 100755 (executable)
@@ -805,6 +805,7 @@ int bp_common_adaptor_disconnect(bp_adaptor_defs **info, pthread_t *tid)
                if (pthread_cancel(*tid) != 0) {
                        TRACE_ERROR("pthread:%0x", (int)*tid);
                }
+               pthread_join(*tid, NULL);
                *tid = 0;
        }
        bp_common_adaptor_close_all(*info);