Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2011-03-11 00:16:38 +0000
committereutarass2011-03-11 00:16:38 +0000
commitf70d3db3eea32ef80fceaecdd9b5a206fdc5ad74 (patch)
tree1b985c218b6dc2038183f74044795bd30c0de08e
parent0ed1e442f0b4763d250a25d6018fc1f991b0f2d4 (diff)
downloadorg.eclipse.tcf.agent-f70d3db3eea32ef80fceaecdd9b5a206fdc5ad74.tar.gz
org.eclipse.tcf.agent-f70d3db3eea32ef80fceaecdd9b5a206fdc5ad74.tar.xz
org.eclipse.tcf.agent-f70d3db3eea32ef80fceaecdd9b5a206fdc5ad74.zip
TCF Server: fixed: Symbols.getContext command can return ENOENT error after symbols server is not used for a while (> 1 min)
-rw-r--r--services/tcf_elf.c2
1 files changed, 1 insertions, 1 deletions
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;

Back to the top