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
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2008-2009, Ingo Weinhold, [email protected].
|
||||
* Copyright 2008-2010, Ingo Weinhold, [email protected].
|
||||
* Copyright 2003-2008, Axel Dörfler, [email protected].
|
||||
* 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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user