When we receive a distributed notification, any objects added to the autorelease...
commit29e3180bf6bed9ce79cc5b182a6da424780f58a0
authorEvan Schoenberg <evan@adiumx.com>
Wed, 30 Jan 2008 20:08:11 +0000 (30 20:08 +0000)
committerEvan Schoenberg <evan@adiumx.com>
Wed, 30 Jan 2008 20:08:11 +0000 (30 20:08 +0000)
tree53b6d8b67aa0e9e0becd32e110f74e419efb2b2d
parent7efe56b6fe4c5e99edd66323538b438161cabacc
When we receive a distributed notification, any objects added to the autorelease pool won't be released until the next time the program is sent an NSEvent, it appears.  We therefore should use a manual autorelease pool around the observer methods to prevent build-up of any autoreleased memory. This fixes a problem in which memory usage would build up over time when an autoupdating status message was in use and Adium was left alone for a long period of time. Fixes #8892

git-svn-id: svn://svn.adiumx.com/adium/trunk@22526 1c916fce-81e2-0310-a464-8ca513f45935
Source/AdiumApplescriptRunner.m