Skip to content

Fix memory leak and improve performance (closes #8) - #9

Open
lordmauve wants to merge 1 commit into
aino:masterfrom
lordmauve:master
Open

Fix memory leak and improve performance (closes #8)#9
lordmauve wants to merge 1 commit into
aino:masterfrom
lordmauve:master

Conversation

@lordmauve

Copy link
Copy Markdown

Fixes a memory leak due to calling ctx.save() without a corresponding
restore.

Improve performance by allowing Throbber.loop() to unschedule when
throbber stops, rescheduling when throbber is started.

Similarly, allow tick() to stop when no active throbbers, restarting
when a throbber is started.

Fixes a memory leak due to calling ctx.save() without a corresponding
restore.

Improve performance by allowing Throbber.loop() to unschedule when
throbber stops, rescheduling when throbber is started.

Similarly, allow tick() to stop when no active throbbers, restarting
when a throbber is started.
@lordmauve

Copy link
Copy Markdown
Author

bump

@DevHopps

DevHopps commented Aug 3, 2016

Copy link
Copy Markdown

I ran into that problem. Thanks for providing a fix @lordmauve 👍

@michael-mader

Copy link
Copy Markdown

Thanks for fixing this problem. This PR should really be merged into master branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants