单项选择题

Repair of vital machinery and services on a ship should be accomplished().

A.after control of fire,flooding,and structural repairs
B.immediately
C.after control of fire,but before control of flooding
D.after stability is restored