From 2a938c5b810dab850215870fc0cfffb426dd8b8b Mon Sep 17 00:00:00 2001 From: John Knox Date: Thu, 14 Feb 2019 09:50:55 -0800 Subject: [PATCH] Change all plugin uses of client.send to client.call Summary: client.send will be deprecated because it doesn't allow handling or detection of errors. Reviewed By: passy Differential Revision: D14084786 fbshipit-source-id: 7ebe4a7f3f8536c705e1c9302f38db0a34d99dc4 --- src/plugins/leak_canary/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/leak_canary/index.js b/src/plugins/leak_canary/index.js index b720f0faf..71ca15b9f 100644 --- a/src/plugins/leak_canary/index.js +++ b/src/plugins/leak_canary/index.js @@ -88,7 +88,7 @@ export default class LeakCanary extends FlipperPlugin { selectedIdx: null, selectedEid: null, }); - this.client.send('clear'); + this.client.call('clear'); }; _selectElement = (leakIdx: number, eid: string) => {