projects
/
platform
/
core
/
api
/
wifi-aware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81db856
)
Stop session when clearing all resources
author
Cheoleun Moon
<chleun.moon@samsung.com>
Wed, 8 Apr 2020 12:28:31 +0000
(21:28 +0900)
committer
Cheoleun Moon
<chleun.moon@samsung.com>
Wed, 8 Apr 2020 12:28:31 +0000
(21:28 +0900)
test/wifi-aware-subscribe-test.c
patch
|
blob
|
history
diff --git
a/test/wifi-aware-subscribe-test.c
b/test/wifi-aware-subscribe-test.c
index
fc7e61d
..
316656c
100644
(file)
--- a/
test/wifi-aware-subscribe-test.c
+++ b/
test/wifi-aware-subscribe-test.c
@@
-650,6
+650,7
@@
void clear_resources()
g_subscribe_handle = NULL;
if (g_wifi_aware_session) {
+ wifi_aware_session_stop(g_wifi_aware_session);
wifi_aware_session_unset_message_received_cb(g_wifi_aware_session);
wifi_aware_session_unset_service_discovered_cb(g_wifi_aware_session);
wifi_aware_session_unset_terminated_cb(g_wifi_aware_session);