samvermette/SVPullToRefresh — pull request #134 by cuva (2013-06-18 12:13:12+00:00)
Title: Fixes a bug when view gets deallocated & showsPullToRefresh == NO

Observers were not correctly removed if `showsPullToRefresh` equals to NO.

This error what appearing :

"An instance 0x78b6e00 of class UITableView was deallocated while key value observers were still registered with it. Observation info was leaked, and may even become mistakenly attached to some other object. Set a breakpoint on NSKVODeallocateBreak to stop here in the debugger."

This fixes the issue.

Cheers