I has inited viewer , now i want to reset initialization ,but failed.How can i solve it?

I has inited viewer , now i want to reset initialization ,but failed.How can i solve it?

If you’re trying to remove all entities/start over, see the discussion here:

https://github.com/AnalyticalGraphicsInc/cesium/issues/5462

It might be better to re-use the viewer instead of trying to destroy it and recreate it.