mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 06:19:36 +00:00
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:
parent
c3a9c54632
commit
18ae289343
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user