mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
Fix crash on Mac
Part 3: comment about further investigations git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16115 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d174432777
commit
9feb262948
@ -396,9 +396,14 @@ int LyX::exec(int & argc, char * argv[])
|
|||||||
support::os::internal_path(package().temp_dir() + "/lyxsocket")));
|
support::os::internal_path(package().temp_dir() + "/lyxsocket")));
|
||||||
|
|
||||||
exit_status = pimpl_->application_->exec();
|
exit_status = pimpl_->application_->exec();
|
||||||
|
|
||||||
|
// FIXME: Do we still need this reset?
|
||||||
|
// I assume it is the reason for strange Mac crashs
|
||||||
|
// Test by reverting rev 16110 (Peter)
|
||||||
// Kill the application object before exiting. This avoid crash
|
// Kill the application object before exiting. This avoid crash
|
||||||
// on exit on Linux.
|
// on exit on Linux.
|
||||||
pimpl_->application_.reset();
|
pimpl_->application_.reset();
|
||||||
|
|
||||||
// Restore original font resources after Application is destroyed.
|
// Restore original font resources after Application is destroyed.
|
||||||
support::restoreFontResources();
|
support::restoreFontResources();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user