Slyce-Inc / SlyceMessaging

A messaging library for Android
MIT License
968 stars 173 forks source link

Fragment leaks due to ScheduledExecutorService #31

Open vinceTrom opened 7 years ago

vinceTrom commented 7 years ago

I found that my Activity which use SlyceMessagingFragment leaks because the ScheduledExecutorService created in the startUpdateTimestampsThread holds a reference to the Fragment (through the inner Runnable class), and this executor is never stopped!