From f70d3db3eea32ef80fceaecdd9b5a206fdc5ad74 Mon Sep 17 00:00:00 2001 From: eutarass Date: Fri, 11 Mar 2011 00:16:38 +0000 Subject: TCF Server: fixed: Symbols.getContext command can return ENOENT error after symbols server is not used for a while (> 1 min) --- services/tcf_elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/tcf_elf.c b/services/tcf_elf.c index 97c133ae..0369d2eb 100644 --- a/services/tcf_elf.c +++ b/services/tcf_elf.c @@ -140,7 +140,7 @@ static void elf_cleanup_event(void * arg) { post_event_with_delay(elf_cleanup_event, NULL, 1000000); elf_cleanup_posted = 1; } - else { + else if (list_is_empty(&context_root)) { while (inodes != NULL) { FileINode * n = inodes; inodes = n->next; -- cgit v1.2.3