diff --git a/docs/features/images-plugin.md b/docs/features/images-plugin.md index bb4563808..017157c1c 100644 --- a/docs/features/images-plugin.md +++ b/docs/features/images-plugin.md @@ -27,6 +27,6 @@ of your application, for instance during cold start. ## Leak Tracking Dealing with large resources can require special APIs to be used that circumvent -usual garbage collection. The plugin allows to track `CloseableReference`s for +usual garbage collection. The plugin allows tracking `CloseableReference`s for Fresco on Android that weren't properly closed, which can help you improve the performance of your app. \ No newline at end of file diff --git a/docs/setup/images-plugin.md b/docs/setup/images-plugin.md index 83de72ad8..fc622b8bd 100644 --- a/docs/setup/images-plugin.md +++ b/docs/setup/images-plugin.md @@ -36,7 +36,7 @@ The Flipper plugin can help you track down `CloseableReferences` who have not ha `close()` called on them. This can have a negative impact on the performance of your application. -Do enable this functionality, you need to create a `CloseableReferenceLeakTracker` +To enable this functionality, you need to create a `CloseableReferenceLeakTracker` and set it in both your `ImagePipelineConfig` for Fresco and the `FrescoPluginPlugin` on creation.