The static objects are destructed in the reverse order of construction. And the order of construction is very hard to control. The only thing you can be sure of is that two objects defined in the same compilation unit will be constructed in the order of definition. Anything else is more or less random.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…