Am Samstag, 3. Juni 2006 18:12 schrieb Abdelrazak Younes: > I know that, the question was more about the destruction of > BufferView::Pimpl which I don't see in lyx_gui. AFAIU, we shall make > sure that this destruction happens after the one of QApplication (I am > not saying it does not, just that we need to verify).
I did that, and the chain is BufferView::Pimpl BufferView QtView LyX This goes all via smart pointers, so AFAICS all BufferView::Pimpls are destroyed when the LyX singleton is destructed. That one is static, so it should happen after a non-static QApplication variable. Georg