X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=bt-api%2Fbt-gatt-service.c;h=6a4cc6c48d72adff8deb7d03a2a164383686bf50;hb=51f699be6740725518ddf59cb6a5536e7fc62181;hp=0842b8a02c9a1a4acbd84f6e44334f075f7cdf47;hpb=85e3d9d4c69b2891af1523b19da2d9d9704334d6;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git diff --git a/bt-api/bt-gatt-service.c b/bt-api/bt-gatt-service.c index 0842b8a..6a4cc6c 100644 --- a/bt-api/bt-gatt-service.c +++ b/bt-api/bt-gatt-service.c @@ -1566,7 +1566,8 @@ BT_EXPORT_API int bluetooth_gatt_unregister_application(void) if (err != NULL) { BT_ERR("D-Bus API failure: errCode[%x], message[%s]", err->code, err->message); - if (err->code == G_DBUS_ERROR_SERVICE_UNKNOWN) { + if (err->code == G_DBUS_ERROR_SERVICE_UNKNOWN || + g_strrstr(err->message, BT_ERROR_DOES_NOT_EXIST)) { g_clear_error(&err); goto done; }