Fix the crash on bluetooth-share gtest 52/167152/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.011735 accepted/tizen/unified/20180123.135358 submit/tizen/20180118.100229 submit/tizen_5.0/20181101.000001
authorDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 16 Jan 2018 01:08:18 +0000 (10:08 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 16 Jan 2018 01:08:18 +0000 (10:08 +0900)
Change-Id: I6e93f2f924e43d6846859b548ccd63dffd05a04f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
src/bt-share-ui-main.c

index dbd0758..ba4b88b 100644 (file)
@@ -317,6 +317,7 @@ static void __app_service(app_control_h app_control, void *user_data)
        if (launch_mode == BT_LAUNCH_NONE) {
                if (b)
                        bundle_free(b);
+               _bt_terminate_app();
                return;
        }