EventBus icon indicating copy to clipboard operation
EventBus copied to clipboard

add the ability of registerWeak, which could help reduce memory leak

Open ice871117 opened this issue 4 years ago • 2 comments

we have been using this registerWeak function for a while and it runs steady, also reduce the chance to cause memory leak on android. sometimes it is really hard to find a proper place to call unregister. Empty reference will be removed when new registration happens

ice871117 avatar Mar 04 '20 03:03 ice871117

@greenrobot-team Any update on this? This would be an amazing feature to have and the idea was brought up all the way back in January 2014: #57

GregoryConrad avatar Apr 04 '20 01:04 GregoryConrad

No update. But as a general hint, you should not expect such fundamental (read potentially breaking) changes making it into the library.

greenrobot-team avatar May 05 '20 05:05 greenrobot-team