Skip to content

Conversation

@indy91
Copy link
Contributor

@indy91 indy91 commented Aug 5, 2025

This PR changes the connecting/disconnecting behavior of the umbilical classes for the IU, S-IB and S-IC to work more like our general connector class.

The reason for this change is an (apparent) different deletion order of vessels in Open Orbiter which causes a crash of the simulation on exiting it. This PR also deletes some special code handling pad aborts where the disconnection of the umbilical isn't caused as usual by a call of the Disconnect function. With this change the order of deletion of the umbilical/systems classes and the source of the disconnect should not matter at all.

Testing for this PR should all be possible with scenarios shortly before launch. If the Saturn launches normally then the umbilical connect (on scenario load) works correctly. Disconnects can be tested with normal launches and pad aborts. There should be no crash on scenario exit. There wasn't any crash in the Orbiter Beta anyway. This PR is mostly for Open Orbiter and a good cleanup of some bad workarounds.

This change is also mostly temporary as the WIP branch for Saturn V docked stages (#1382) actually changes the umbilicals to use the connector class.

…s in various cases like pad aborts or vessels being deleted
Copy link
Contributor

@ThatRedMelon ThatRedMelon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The sim doesn't crash in O16 and O24, as expected

Copy link
Collaborator

@rcflyinghokie rcflyinghokie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No crashes here in OO

@indy91 indy91 merged commit 39759c1 into orbiternassp:Orbiter2016 Aug 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants