mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-03 16:50:42 +00:00
Don't set uncaught except handler until after init
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9125 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
861c37416e
commit
de6f03fb1b
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2001-02-11 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSApplication.m ([NSApplication -init]): Don't set our
|
||||||
|
uncaught exception handler until after the back-end is initialized
|
||||||
|
(at least).
|
||||||
|
|
||||||
2001-02-09 Richard Frith-Macdonald <rfm@gnu.org>
|
2001-02-09 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/NSApplication.m: NSAppIconView modified to support the
|
* Source/NSApplication.m: NSAppIconView modified to support the
|
||||||
|
|
|
@ -365,9 +365,6 @@ static NSCell* tileCell = nil;
|
||||||
/* Save the base library exception handler */
|
/* Save the base library exception handler */
|
||||||
defaultUncaughtExceptionHandler = NSGetUncaughtExceptionHandler ();
|
defaultUncaughtExceptionHandler = NSGetUncaughtExceptionHandler ();
|
||||||
|
|
||||||
/* Set a new exception handler for the gui library */
|
|
||||||
NSSetUncaughtExceptionHandler (_NSAppKitUncaughtExceptionHandler);
|
|
||||||
|
|
||||||
/* Cache the NSAutoreleasePool class */
|
/* Cache the NSAutoreleasePool class */
|
||||||
arpClass = [NSAutoreleasePool class];
|
arpClass = [NSAutoreleasePool class];
|
||||||
nc = [NSNotificationCenter defaultCenter];
|
nc = [NSNotificationCenter defaultCenter];
|
||||||
|
@ -437,6 +434,9 @@ static NSCell* tileCell = nil;
|
||||||
//_main_menu = nil;
|
//_main_menu = nil;
|
||||||
_windows_need_update = YES;
|
_windows_need_update = YES;
|
||||||
|
|
||||||
|
/* Set a new exception handler for the gui library */
|
||||||
|
NSSetUncaughtExceptionHandler (_NSAppKitUncaughtExceptionHandler);
|
||||||
|
|
||||||
_listener = [GSServicesManager newWithApplication: self];
|
_listener = [GSServicesManager newWithApplication: self];
|
||||||
|
|
||||||
/* NSEvent doesn't use -init so we use +alloc instead of +new */
|
/* NSEvent doesn't use -init so we use +alloc instead of +new */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue