Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Removed clone statement from jquery-bootgrid destroy function that was causing anything in a bootgrid table to persist and not get garbage collected. Also added some code to make sure a table is emptied of elements and event listeners on widget refresh. If those are too much, calling destroy on its own after the fix still significantly reduced the leak. I also realize that my minification might be a bit different than the original. I can take a look at that if it's a concern.
DO NOT DELETE THIS TEXT
If you would like to test this pull request then please run: