Maybe add a destructor an delete m_view on destruction if not nullptr