Update leak-canary-plugin.md (#519)
Summary: Unexpected semicolon in refWatcher sample code copy pasting the sample code for refWatcher giving below error due to a semicolon in refWatcher code  ## Changelog remove the semicolon from refWatcher sample code Pull Request resolved: https://github.com/facebook/flipper/pull/519 Reviewed By: danielbuechele Differential Revision: D17527312 Pulled By: passy fbshipit-source-id: c573736dec63de2e93113b56c24a7bab72bb0067
This commit is contained in:
committed by
Facebook Github Bot
parent
a4a3739d98
commit
36689add82
@@ -26,7 +26,7 @@ Next, build a custom RefWatcher using RecordLeakService: (see [LeakCanary docs](
|
|||||||
import com.facebook.flipper.plugins.leakcanary.RecordLeakService;
|
import com.facebook.flipper.plugins.leakcanary.RecordLeakService;
|
||||||
|
|
||||||
RefWatcher refWatcher = LeakCanary.refWatcher(this)
|
RefWatcher refWatcher = LeakCanary.refWatcher(this)
|
||||||
.listenerServiceClass(RecordLeakService.class);
|
.listenerServiceClass(RecordLeakService.class)
|
||||||
.buildAndInstall();
|
.buildAndInstall();
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user