RiccardoMoro / RMSwitch

A simple and customizable two or three states Switch View
656 stars 81 forks source link

Memory leak caused by static variables #11

Closed CROSP closed 4 years ago

CROSP commented 6 years ago

Hi, thanks for the library. However it has a potential problem causing memory leaks. Here is a Leak Canary dump showing how the memory leak occured.

Could you fix it please ?

screen shot 2017-10-22 at 3 09 21 pm
RiccardoMoro commented 4 years ago

This has been fixed as part of 1.2.3 release now on jcenter. Sorry for the (really) long wait and the kinda stupid mistake.