There was an error while loading. Please reload this page.
target->detach
target_list_free
1 parent fcdc38a commit 57e99ebCopy full SHA for 57e99eb
1 file changed
src/target/target.c
@@ -127,7 +127,7 @@ void target_list_free(void)
127
while (target) {
128
target_s *next_target = target->next;
129
TRY (EXCEPTION_ALL) {
130
- if (target->attached)
+ if (target->attached && target->detach)
131
target->detach(target);
132
}
133
CATCH () {
0 commit comments