tearDownRecordingOnDrawFrame method

void tearDownRecordingOnDrawFrame()

Tear down the setup that was done by setupRecordingOnDrawFrame.

This is needed, otherwise non-http recording tests may be affected by http recorder.

Implementation

void tearDownRecordingOnDrawFrame() {
  final dispatcher = PlatformDispatcher.instance;
  final onDrawFrame = _onDrawFrameRefHolder[dispatcher];

  if (onDrawFrame != null) {
    dispatcher.onDrawFrame = onDrawFrame;
  }
}