swarm-support
[Top][All Lists]
Advanced

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

Re: leak in CanvasItem?


From: Ralf Stephan
Subject: Re: leak in CanvasItem?
Date: Sun, 21 May 2000 09:09:53 +0200

> Is this with your modified TextItem?

No, it's with Swarm's too, and I guess with all CanvasItems.
Put this into heatbugs/main.m before [theTopLevelSwarm go]
and see the allocated memory build up:

  { id c = [[Canvas createBegin: globalZone] createEnd];
        while (1)
        {
                id t = [TextItem createBegin: globalZone];
        [t setCanvas: c];
                t = [t createEnd];
                [t drop];
        }
  }


That scalp would fit nicely to my other ones <chuckle>,
ralf
-- 
http://ME.IN-berlin.de/~rws/

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

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