Fixed trim function in Carousel trim wasn't ever deleting anything from the upcomingQueue since it was using the variable toDelete, which was always 0 by the time it got to the upcomingQueue while loop. Changed it to use toDeleteFromUpcoming, hopefully fixing the problem. Did this fix the memory leak?
Fixed trim function in Carousel
trim wasn't ever deleting anything from the upcomingQueue since it was using the variable toDelete, which was always 0 by the time it got to the upcomingQueue while loop. Changed it to use toDeleteFromUpcoming, hopefully fixing the problem.
Did this fix the memory leak?

jasontbradshaw/visualkite