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:
committed by
Facebook Github Bot
parent
8eb790b8b5
commit
2a938c5b81
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user