35-14-745. Discontinuance -- settlement. A derivative proceeding may not be discontinued or settled without the court's approval. If the court determines that a proposed discontinuance or settlement will substantially affect the interests of the corporation's shareholders or a class or series of shareholders, the court shall direct that notice be given to the shareholders affected.