DBooots / KerbalWindTunnel

A mod for Kerbal Space Program to provide atmospheric performance data for spaceplanes and aircraft.
Other
11 stars 3 forks source link

Changing the x axis of curves causes an error #13

Closed FastAndFishious closed 2 years ago

FastAndFishious commented 2 years ago

Wouldn't be surprised if this is an issue on my side, but I am facing the following bug.

Here, everything is behaving as expected. Capture d’écran (72)

The x axis is changed, still working normally. Capture d’écran (73)

However, from here changing anything, such as pressing "Update Vessel", breaks everything. Capture d’écran (74)

The console is also spammed with "Exception: ObjectDisposedException: The CancellationTokenSource has been disposed." Capture d’écran (75)

From here, the only solution I found is to exit and reenter the SPH. Thank you for taking the time to read my bug report, and for creating this mod!

DBooots commented 2 years ago

There was an issue with a lamda expression inadvertently disposing an active CancellationToken. The fix has been committed and will be included in 1.3.1.1.