Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix creating multiple timers to update song rows UI
As it sits Pithos starts a new UI loop every time play is pressed (maybe even more often?) and never destroys old loops. They stack up over time creating a small memory leak of sorts. This patch makes Pithos handle the UI loop more intelligently by starting/creating it when needed and stopping/destroying it when it's not needed (like when Pithos is paused). Credit for the code goes to the Exaile devs as it's pretty much a copy and paste of their code with a little tweaking to make it work with Pithos. Closes #166
- Loading branch information