Enable dispatch of events
Summary: To dispatch events, we need a valid instance of FlipperServer. This is the place so enable the recorder with it. Reviewed By: antonk52 Differential Revision: D47295986 fbshipit-source-id: f2231544c58ba8f76e9102265e10a99520260b0a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e20d723ac0
commit
e484867f21
@@ -85,6 +85,8 @@ export class ServerController
|
|||||||
super();
|
super();
|
||||||
this.flipperServer = flipperServer;
|
this.flipperServer = flipperServer;
|
||||||
this.connectionTracker = new ConnectionTracker(this.logger);
|
this.connectionTracker = new ConnectionTracker(this.logger);
|
||||||
|
|
||||||
|
recorder.enable(flipperServer);
|
||||||
}
|
}
|
||||||
|
|
||||||
onClientMessage(clientId: string, payload: string): void {
|
onClientMessage(clientId: string, payload: string): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user