noraesae/perfect-scrollbar — pull request #52 by frozeman (2013-08-05 15:27:56+00:00)
Title: memory leak fixes

Hi,

as is used your script in an onepage js app, where dom removal is done not by query but another render engine, i experienced some memory leaks, which can become a problem, when the app runs to long.

this commit should reduce the leaks as global variables get nulled, when perfectScroll gets destroyed.