We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e31dc5 commit a0746ebCopy full SHA for a0746eb
1 file changed
pkg/trackfiles/trackfile.go
@@ -162,8 +162,6 @@ func (t *Trackfile) Direction() brevity.Track {
162
163
// groundSpeed returns the approxmiate speed of the track along the ground (i.e. in two dimensions).
164
func (t *Trackfile) groundSpeed() unit.Speed {
165
- t.lock.RLock()
166
- defer t.lock.RUnlock()
167
if t.track.Len() < 2 {
168
return 0
169
}
0 commit comments