In any case where several trustees, managers or directors of any insolvent corporation are liable to an action for unlawfully making any dividend or dividing, withdrawing or reducing capital, or for any default, negligence or malfeasance in the discharge of their duties, and in any case where several sureties on any bond for the performance of any duty or employment are liable to an action for any default, negligence or malfeasance of their principal, the receiver or trustees, or such person, corporation or officer that may bring such action, may settle and compromise with, release and discharge any one or more of the parties so liable, but no compromise or settlement shall be made without the approval first had and obtained from the court by which such receiver or trustee was appointed.
Such settlement, compromise, release or discharge shall not affect or constitute any defense to any such action or right of action against the other parties so liable, but in such case the recovery against those not so settled with and discharged, or any of them, shall not exceed the proportion to which they or he would have been bound according to the rules of equity if no such settlement and discharge had been made.
N.J.S. § 2A:55-7