projects
/
platform
/
core
/
api
/
thread.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
798086a
)
Add to clean up after used API for network
02/272902/1
author
hyunuk.tak
<hyunuk.tak@samsung.com>
Fri, 25 Mar 2022 03:08:44 +0000
(12:08 +0900)
committer
hyunuk.tak
<hyunuk.tak@samsung.com>
Mon, 28 Mar 2022 01:57:37 +0000
(10:57 +0900)
Change-Id: I4611290c7804c11a264195e7f527cddc5cbb40f1
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
tests/unittest/thread-unittest-network.cpp
patch
|
blob
|
history
diff --git
a/tests/unittest/thread-unittest-network.cpp
b/tests/unittest/thread-unittest-network.cpp
index
73f6d7f
..
9e15b29
100644
(file)
--- a/
tests/unittest/thread-unittest-network.cpp
+++ b/
tests/unittest/thread-unittest-network.cpp
@@
-66,6
+66,13
@@
protected:
void TearDown() override
{
+ if (instance)
+ {
+ if (network)
+ thread_network_destroy_operational_network(instance, network);
+ thread_disable(instance);
+ }
+
thread_deinitialize();
}