FAQ: How can I tell if the model is fully loaded so that I can avoid "ReferenceError: member called after shutdown" in the Web Viewer?

As part of the Web Viewer class, there is a function called waitForIdle():


One possible solution is to call shutdown() in the returned Promise of waitForIdle() .