From: DoHyun Pyun Date: Mon, 28 Jan 2019 08:28:23 +0000 (+0900) Subject: Reset the server instance in the deinitialize function X-Git-Tag: submit/tizen/20190129.000858^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=02a0635f8af84e112070e9bfbe31b3776cb2b91b;p=platform%2Fcore%2Fapi%2Fbluetooth.git Reset the server instance in the deinitialize function Change-Id: I8df1bdabe10b70b608a2fc6666105fa4d21f3a81 Signed-off-by: DoHyun Pyun --- diff --git a/test/bt_unit_test.c b/test/bt_unit_test.c index 5653af8..c4d079c 100644 --- a/test/bt_unit_test.c +++ b/test/bt_unit_test.c @@ -6155,6 +6155,8 @@ int test_input_callback(void *data) ret = bt_gatt_server_deinitialize(); + server = NULL; + TC_PRT("returns %s \n", __bt_get_error_message(ret)); break; }