Quick update: resource hog fix

A small bug ran into the code while cleaning up which resulted in a strong referenced eventListener never being removed and readded itself everytime the microphone was activated. Now all temporary eventListeners are weak referenced as common practice, but they will still be manually removed.

When letting the garbage collector throw away the weak referenced listeners when idle the resource would be around 20% on a Core2Duo T7300 (mobile) and when it’s done manually it goes to around 0 – 3%.

The resource hog has thus been fixed.

This entry was posted in Development. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *