laullon/gitx — pull request #164 by ksuther (2012-02-26 01:48:39+00:00)
Title: Fixed lots of retain cycles which caused memory leaks

The switch to ARC made a ton of retain cycles which was causing PBGitRepository and all of the associated view controllers to leak every time a document was closed. This breaks all the cycles so they don't leak anymore.

There's also a nasty workaround to the view controllers getting released while not on the main thread. That should probably replaced if anyone has a better idea.