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
This commit is contained in:
John Knox
2019-02-14 09:50:55 -08:00
committed by Facebook Github Bot
parent 8eb790b8b5
commit 2a938c5b81

View File

@@ -88,7 +88,7 @@ export default class LeakCanary extends FlipperPlugin<State> {
selectedIdx: null, selectedIdx: null,
selectedEid: null, selectedEid: null,
}); });
this.client.send('clear'); this.client.call('clear');
}; };
_selectElement = (leakIdx: number, eid: string) => { _selectElement = (leakIdx: number, eid: string) => {