mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-22 15:20:15 +02:00
Fix for bug #739
Just ignores the broken pipe signal allowing the failure dialog to come up and, more importantly, keep Audacity from simply disappearing. :-)
This commit is contained in:
parent
d438755ae5
commit
fdfcc0ec4d
@ -202,6 +202,11 @@ class ExportCLProcess : public wxProcess
|
|||||||
public:
|
public:
|
||||||
ExportCLProcess(wxString *output)
|
ExportCLProcess(wxString *output)
|
||||||
{
|
{
|
||||||
|
#if defined(__WXMAC__)
|
||||||
|
// Don't want to crash on broken pipe
|
||||||
|
signal(SIGPIPE, SIG_IGN);
|
||||||
|
#endif
|
||||||
|
|
||||||
mOutput = output;
|
mOutput = output;
|
||||||
mActive = true;
|
mActive = true;
|
||||||
mStatus = -555;
|
mStatus = -555;
|
||||||
@ -359,6 +364,7 @@ int ExportCL::Export(AudacityProject *project,
|
|||||||
fName.c_str()));
|
fName.c_str()));
|
||||||
p->Detach();
|
p->Detach();
|
||||||
p->CloseOutput();
|
p->CloseOutput();
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user