mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix crash after cancellation code.
I thought we didn't use clones when exporting from the command line. We probably shouldn't.
This commit is contained in:
parent
ffd1e932e2
commit
61b1a20185
@ -403,7 +403,7 @@ void SystemcallPrivate::startProcess(QString const & cmd, string const & path,
|
||||
bool SystemcallPrivate::waitAndCheck()
|
||||
{
|
||||
Sleep::millisec(100);
|
||||
if (theApp()->cancel_export) {
|
||||
if (theApp() && theApp()->cancel_export) {
|
||||
// is there a better place to reset this?
|
||||
process_->kill();
|
||||
state = Killed;
|
||||
|
Loading…
Reference in New Issue
Block a user