mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
* Source/Additions/GSLock.m ([GSLazyLock -init])
([GSLazyRecursiveLock -init]): Always invoke supers init so dealloc does not fail on Cocoa. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19175 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
86c0a0edf0
commit
210daa2f78
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-04-23 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* Source/Additions/GSLock.m ([GSLazyLock -init])
|
||||
([GSLazyRecursiveLock -init]): Always invoke supers init
|
||||
so dealloc does not fail on Cocoa.
|
||||
|
||||
2004-04-19 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSDistantObject.m: ([-conformsToProtocol:]) rewritten with
|
||||
|
|
|
@ -86,6 +86,8 @@
|
|||
|
||||
- (id) init
|
||||
{
|
||||
self = [super init];
|
||||
|
||||
if ([NSThread isMultiThreaded] == YES)
|
||||
{
|
||||
RELEASE(self);
|
||||
|
@ -93,7 +95,6 @@
|
|||
}
|
||||
else
|
||||
{
|
||||
self = [super init];
|
||||
if (self != nil)
|
||||
{
|
||||
[[NSNotificationCenter defaultCenter]
|
||||
|
@ -236,6 +237,8 @@
|
|||
|
||||
- (id) init
|
||||
{
|
||||
self = [super init];
|
||||
|
||||
if ([NSThread isMultiThreaded] == YES)
|
||||
{
|
||||
RELEASE(self);
|
||||
|
@ -243,7 +246,6 @@
|
|||
}
|
||||
else
|
||||
{
|
||||
self = [super init];
|
||||
if (self != nil)
|
||||
{
|
||||
[[NSNotificationCenter defaultCenter]
|
||||
|
|
Loading…
Reference in a new issue