You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(android): stop leaking executor thread in getBitmapDrawable
ReactSlider.getBitmapDrawable creates a single-thread ExecutorService per call
and never shuts it down, so every setThumbImage call leaks the worker thread
for the lifetime of the process. Wrap the submit/get in a try/finally and
shut down the executor once the bitmap decode is complete.
Behaviour is unchanged; only the now-idle worker thread is reclaimed.
0 commit comments