mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
fix crash on emergencyCleanup() when lyx::use_gui is false.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15360 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1e12ef87f5
commit
c174c9ea88
@ -756,7 +756,8 @@ void LyX::emergencyCleanup() const
|
||||
// a crash
|
||||
|
||||
buffer_list_->emergencyWriteAll();
|
||||
application_->server().emergencyCleanup();
|
||||
if (lyx::use_gui)
|
||||
application_->server().emergencyCleanup();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user