Skip to content

Commit

Permalink
Merge pull request #17 from vaperion/fix-baseprofiler-cme
Browse files Browse the repository at this point in the history
Fix BaseProfiler throwing a CME
  • Loading branch information
funkemunky authored Aug 31, 2020
2 parents 0db7406 + cb85da8 commit c5a5251
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,6 @@ public void stop(String name, long extense) {
}

private Timing getTiming(String name) {
return timingsMap.computeIfAbsent(name, key -> {
Timing timing = new Timing(key);

timingsMap.put(key, timing);

return timing;
});
return timingsMap.computeIfAbsent(name, Timing::new);
}
}

0 comments on commit c5a5251

Please sign in to comment.