Abdels fix for pure virtual method called

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15393 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2006-10-20 09:41:11 +00:00
parent c3a9c54632
commit 18ae289343

View File

@ -384,6 +384,9 @@ void LyX::prepareExit()
lyx::from_utf8(package().temp_dir()));
Alert::warning(_("Unable to remove temporary directory"), msg);
}
pimpl_->lyx_server_.reset();
pimpl_->lyx_socket_.reset();
}
@ -855,8 +858,11 @@ void LyX::emergencyCleanup() const
// a crash
pimpl_->buffer_list_.emergencyWriteAll();
if (lyx::use_gui)
if (lyx::use_gui) {
pimpl_->lyx_server_->emergencyCleanup();
pimpl_->lyx_server_.reset();
pimpl_->lyx_socket_.reset();
}
}