mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
* Source/NSException.m (-raise): Only set the stack when the
exception gets first raised. This fixes bug #35192 Patch by Larry Campbell <lcampbel@akamai.com> git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34398 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3014907a3a
commit
b27e0e32db
2 changed files with 11 additions and 1 deletions
|
@ -957,7 +957,11 @@ callUncaughtHandler(id value)
|
|||
{
|
||||
_reserved = NSZoneCalloc([self zone], 2, sizeof(id));
|
||||
}
|
||||
_e_stack = [GSStackTrace new];
|
||||
if (nil == _e_stack)
|
||||
{
|
||||
// Only set the stack when first raised
|
||||
_e_stack = [GSStackTrace new];
|
||||
}
|
||||
|
||||
#if defined(_NATIVE_OBJC_EXCEPTIONS)
|
||||
@throw self;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue