I already mentioned this.
If Cersei knows she can't win she will most likely nuke the whole city with wildfire, along with her own army, civilians, and Dany's invading army. Plus, both Bran's dream and Dany's dream on House of Undying scene pretty much supports this theory.
Maybe with Jamie standing right there as well.