Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5bd6e14f authored by nicolasroard's avatar nicolasroard
Browse files

Don't try freeing resources on a different thread..

This call to freeResources happens on the main thread.
It's also not really useful. The geometry instance
shouldn't be shared either.

bug:8522497
Change-Id: I7b144713428ab803b3640b3d8226fd862db824f4
parent e7aa98e5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -309,7 +309,6 @@ public class CachingPipeline {
            }
            setupEnvironment(preset, false);
            mEnvironment.setQuality(ImagePreset.QUALITY_PREVIEW);
            mFiltersManager.freeFilterResources(preset);
            bitmap = preset.applyGeometry(bitmap, mEnvironment);
            return bitmap;
        }