Bo Peng wrote:
Dear all,

Attached patch moves geometry-saving stuff to ~GuiView(), which
gurantees that session will be saved during the destruction of lyx
GUI. Since pimpl_->session_->writeFile() is executed before ~GuiView()
so I have to move wrieteFile() t0 ~session().

Any opinion? The correct behavior requires that session object,
defined in lyx::Singletons, is destroyed after all other objects that
use session, which may be in doubt.

Bo, please wait for this as I have work in progress with the new LFUN_WINDOW_CLOSE.

FYI, I plan to move the session stuff saving to LyXView. But please let me some time to finish the patch.

Thanks in advance,
Abdel.

Reply via email to