Skip to content

Commit

Permalink
fix the issue that too much memory retained by Telemetry in stress te…
Browse files Browse the repository at this point in the history
…st. (#948)

fix #908
  • Loading branch information
piqiums authored Aug 23, 2017
1 parent 25ca148 commit 46e66ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void stopEvent(final String requestId, final IEvents events, final String eventN
return;
}

final String startTime = mEventTracking.get(new Pair<>(requestId, eventName));
final String startTime = mEventTracking.remove(new Pair<>(requestId, eventName));

// If we did not get anything back from the dictionary, most likely its a bug that stopEvent was called without
// a corresponding startEvent
Expand Down

0 comments on commit 46e66ed

Please sign in to comment.