KAS.KASModulePort.WaitAndRemoveJoint C# (CSharp) Method

WaitAndRemoveJoint() private method

private WaitAndRemoveJoint ( ) : IEnumerator
return IEnumerator
        private IEnumerator WaitAndRemoveJoint()
        {
            while (!this.part.started && this.part.State != PartStates.DEAD) {
              KAS_Shared.DebugLog("WaitAndRemoveJoint - Waiting initialization of the part...");
              yield return null;
            }
            if (this.part.attachJoint) {
              this.part.attachJoint.DestroyJoint();
            }
        }