List Info

Thread: Re: socket losing data




Re: socket losing data
country flaguser name
United Kingdom
2008-05-02 17:26:45
On 2 May 2008, at 23:22, Marko Riedel wrote:

> Furthermore, in the loop that I initially mailed to the
list, I  
> created
> lots of autoreleased NSData objects, which would not be
collected  
> until
> the exit from the method

You might want to look at the STACK macro in
EtoileFoundation if you  
are doing this a lot.  It allows you to define objects with
lexical  
scoping, which will automatically be sent a -release message
when they  
leave scope.

David


_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustepgnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )