Just to be safe, also set `m_impl->m_world` to null here.