Am Samstag, 3. Juni 2006 17:15 schrieb Abdelrazak Younes: > Yes I mean destruction. Right now, WorkArea creation is done in > BufferView::Pimpl::Pimpl construction (I don't know when this > construction happen). > > workarea_.reset(WorkAreaFactory::create(*owner_, width, height)); > screen_.reset(LyXScreenFactory::create(workarea())); > > Then I don't see where and when in the exit process those objects are > destroyed.
workarea_ and screen_ are both a boost::scoped_ptr, so the pointee is destroyed when BufferView::Pimpl is destroyed. Georg