ts2 / ts2-sim-server

TS2 SimServer, the core of the TS2 Simulator
https://ts2.github.io
GNU General Public License v2.0
5 stars 9 forks source link

Added mutex to trainEnd maps to prevent data race crashes #27

Closed npiganeau closed 5 years ago

codecov[bot] commented 5 years ago

Codecov Report

Merging #27 into master will increase coverage by 0.02%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #27      +/-   ##
==========================================
+ Coverage   78.08%   78.11%   +0.02%     
==========================================
  Files          37       37              
  Lines        2519     2531      +12     
==========================================
+ Hits         1967     1977      +10     
- Misses        438      440       +2     
  Partials      114      114
Impacted Files Coverage Δ
simulation/trains.go 59.94% <100%> (+0.48%) :arrow_up:
simulation/track_items.go 83.24% <100%> (+0.73%) :arrow_up:
simulation/routes.go 88.61% <0%> (-1.63%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a936fd3...e3e3eb0. Read the comment docs.