mirror of
				https://github.com/cookiengineer/audacity
				synced 2025-10-31 06:03:49 +01: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:
		| @@ -202,6 +202,11 @@ class ExportCLProcess : public wxProcess | ||||
| public: | ||||
|    ExportCLProcess(wxString *output) | ||||
|    { | ||||
| #if defined(__WXMAC__) | ||||
|       // Don't want to crash on broken pipe | ||||
|       signal(SIGPIPE, SIG_IGN); | ||||
| #endif | ||||
|  | ||||
|       mOutput = output; | ||||
|       mActive = true; | ||||
|       mStatus = -555; | ||||
| @@ -359,6 +364,7 @@ int ExportCL::Export(AudacityProject *project, | ||||
|                                     fName.c_str())); | ||||
|       p->Detach(); | ||||
|       p->CloseOutput(); | ||||
|  | ||||
|       return false; | ||||
|    } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user