Commit e77ab9d1 authored by zhenw's avatar zhenw Committed by Commit bot

Clear StartTracingDoneCallback after usage

Currently StartTracingDoneCallback is not cleared after it is
used. This CL fixes it.

BUG=542390

Review URL: https://codereview.chromium.org/1612583002

Cr-Commit-Position: refs/heads/master@{#370811}
parent 5159ed53
......@@ -270,6 +270,8 @@ void TracingControllerImpl::OnStartAgentTracingDone(
if (!callback.is_null())
callback.Run();
start_tracing_done_callback_.Reset();
}
bool TracingControllerImpl::StopTracing(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment