vatplanner / dataformats-vatsim-public

library for parsing and processing publicly accessible VATSIM data formats
MIT License
1 stars 0 forks source link

flight reset creates new connection for same session #7

Closed dneuge closed 4 years ago

dneuge commented 4 years ago

Flights are reset if new data does not match old by criteria of isSameFlight. Simply setting flight = null looses track of previous connection, however. One session can span multiple flights and connections should be unique per session. Thus, a connection object should be continued regardless of resetting flight data.