From aa3507feea36bec853b8c25a8cff6970754abedd Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 4 Nov 2010 21:15:39 +0000 Subject: [PATCH] terminate_program(): Call the termination function of all images, not only of the program image and its transitive dependencies. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39306 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/runtime_loader/elf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/runtime_loader/elf.cpp b/src/system/runtime_loader/elf.cpp index e8d8af9657..eff87612d8 100644 --- a/src/system/runtime_loader/elf.cpp +++ b/src/system/runtime_loader/elf.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2008-2009, Ingo Weinhold, ingo_weinhold@gmx.de. + * Copyright 2008-2010, Ingo Weinhold, ingo_weinhold@gmx.de. * Copyright 2003-2008, Axel Dörfler, axeld@pinc-software.de. * Distributed under the terms of the MIT License. * @@ -910,7 +910,7 @@ terminate_program(void) image_t **termList; ssize_t count, i; - count = get_sorted_image_list(gProgramImage, &termList, RFLAG_TERMINATED); + count = get_sorted_image_list(NULL, &termList, RFLAG_TERMINATED); if (count < B_OK) return;