stopListeningToEngineBenchmarkValues function

void stopListeningToEngineBenchmarkValues(
  1. String name
)

Stops listening to engine benchmark values under labeled by name.

Implementation

void stopListeningToEngineBenchmarkValues(String name) {
  _engineBenchmarkListeners.remove(name);
  if (_engineBenchmarkListeners.isEmpty) {
    // The last listener unregistered. Remove the global listener.
    ui_web.benchmarkValueCallback = null;
  }
}