Need to keep the metadata file around until upload is complete
This commit is contained in:
		
							parent
							
								
									45fbcc5563
								
							
						
					
					
						commit
						fd91ed3fec
					
				| @ -228,7 +228,6 @@ void UploadCrashDump(const char *path) | ||||
| 	strcat(metapath, ".txt"); | ||||
| 	if (libsys->PathExists(metapath)) { | ||||
| 		form->AddFile("upload_file_metadata", metapath); | ||||
| 		unlink(metapath); | ||||
| 	} | ||||
| 
 | ||||
| 	MemoryDownloader data; | ||||
| @ -244,6 +243,10 @@ void UploadCrashDump(const char *path) | ||||
| 		printf(">>> UPLOADED CRASH DUMP"); | ||||
| 		printf("%s", data.GetBuffer()); | ||||
| 	} | ||||
| 
 | ||||
| 	if (libsys->PathExists(metapath)) { | ||||
| 		unlink(metapath); | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
| void Accelerator::OnCoreMapStart(edict_t *pEdictList, int edictCount, int clientMax) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user