mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
ensure that Application is properly destroyed after at the end of LyX::priv_exec()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15326 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c5dd10f93e
commit
a897cda71c
@ -264,7 +264,12 @@ int LyX::priv_exec(int & argc, char * argv[])
|
||||
theApp = 0;
|
||||
}
|
||||
|
||||
return exec2(argc, argv);
|
||||
int exit_status = exec2(argc, argv);
|
||||
|
||||
if (lyx::use_gui)
|
||||
application_.reset();
|
||||
|
||||
return exit_status;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user