After applications have called this method, they can no longer access any of the objects that the SDK itself created because MApp performs internal clean-up while executing this method.
Applications must call this method even if they manage their own event loop.
After calling this method, applications must call the destructor for MApp.