mirror of
				https://github.com/AxioDL/logvisor.git
				synced 2025-10-25 19:30:27 +00:00 
			
		
		
		
	Use exit(1) instead of abort() for win32 release builds
This commit is contained in:
		
							parent
							
								
									b89d18c471
								
							
						
					
					
						commit
						bb0535f3a9
					
				| @ -168,8 +168,12 @@ void logvisorAbort() | |||||||
| 
 | 
 | ||||||
|     // If you caught one of the above signals, it is likely you just
 |     // If you caught one of the above signals, it is likely you just
 | ||||||
|     // want to quit your program right now.
 |     // want to quit your program right now.
 | ||||||
|  | #ifndef NDEBUG | ||||||
|     signal(SIGABRT, SIG_DFL); |     signal(SIGABRT, SIG_DFL); | ||||||
|     abort(); |     abort(); | ||||||
|  | #else | ||||||
|  |     exit(1); | ||||||
|  | #endif | ||||||
| } | } | ||||||
| #else | #else | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user