bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Notifications sent in -(void)dealloc


From: Marcus Müller
Subject: Notifications sent in -(void)dealloc
Date: Wed, 17 Jul 2002 19:41:57 +0200

Hi,

I just stumbled across some interesting problem. If you post a notification in one object's dealloc and send 'self' as the object of the notification, it later on crashes during an AutoreleasePool's release method (although the object gets retained by the notification, so its deallocation should be cancelled). It doesn't crash on Mac OS X, however.
A testcase for this problem (GNUstep and OS X project) can be found at

http://www.mulle-kybernetik.com/~znek/GNUstep/Notifications.tar.bz2

Cheers,

  Marcus

--
Marcus Mueller  .  .  .  crack-admin/coder ;-)
Mulle kybernetiK  .  http://www.mulle-kybernetik.com
Current projects: finger znek@mulle-kybernetik.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]