flush

open override fun flush(): List<FixResult>

The trip ended while a stop was still unresolved.

Discarding is the right call: a trip that ends where the vehicle stopped moving ended at the stop, so the drift inside it was never travel. Without this the held metres would sit in limbo and quietly vanish from the total with no record of why.