Destroy QWindow in ContainmentView::destroy
it will hide and deallocate the window so that no visibility or geometry changes will be emitted during the destructor, avoiding potential crash situations
it will hide and deallocate the window so that no visibility or geometry changes will be emitted during the destructor, avoiding potential crash situations