discuss-gnustep
[Top][All Lists]
Advanced

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

[PATCH] GNUstepWeb, AutoreleasePool creation for


From: NeXT
Subject: [PATCH] GNUstepWeb, AutoreleasePool creation for
Date: Wed, 03 Mar 2004 02:43:30 +0900 GSWDefaultAdaptorThread

Hi,
As some of you knows, I'm currently testing(or learning) SOPE and GSWeb and during testing,
if I think I found a "bug" I'll send patch like this :-)

In GSWDefaultAdaptorThread's -run: method, the NSAutoreleasePool's instance should be created before assigning _runDate with new NSDate instance(this emits warning or error message).

Fix is simple:
cut two lines around line 133

_pool=[NSAutoreleasePool new];
GSWLogMemCF("New NSAutoreleasePool: %p",_pool);

and paste them before ASSIGN(_runDate,[NSDate date]);

Here comes the patch :-)

<pool.patch>

Attachment: pool.patch
Description: Text Data


reply via email to

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