I broke a lot of stuff this weekend working on NetSketch. I’m not all that familiar with threading, and I wanted to add some progress indicators for long redraws. I ended up doing it a couple times, but it finally works. (You can cancel it half way through the redraw process and everything). For the longest time it was leaking memory, but it turns out I just forgot to call [pool release] when the thread received a cancel message. Oops :-)

Opening a 6MB drawing and immediately interrupting the drawing – no leaks! Finally…