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

Re: [MacPerl] WaitNextEvent Memory Leak?



> If I open the "About this Mac" display to watch memory usage
> and start the program, pick a couple of files and then just
> sit there and do nothing I can watch the size bar for MacPerl
> slowing creep up to the end of it's allocation and shortly
> thereafter drop into MacsBug ;(
> 
> The problem gotta be in waitnextevent cuz that is where it's
> sitting... This evil behavior occurs in 5.2.1a1 and 5.2.0r4

It's not WaitNextEvent. It's MacDialog.

I don't know why, but that's the problem. MacWindows don't leak,
MacDialogs do.

The solution is to use MacWindows and panes to create your interface.

-- 
 Kevin Reid: |    Macintosh:      
  "I'm me."  | Think different.

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org