mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-30 20:40:20 -04:00 
			
		
		
		
	Do not exit after listing available devices. Fixes #2144
This commit is contained in:
		
							parent
							
								
									209e3a9ecb
								
							
						
					
					
						commit
						524bfd447d
					
				| @ -199,7 +199,7 @@ static int runQtApplication(int argc, char* argv[], qtwebapp::LoggerWithFile *lo | |||||||
|     { |     { | ||||||
|         // List available physical devices and exit
 |         // List available physical devices and exit
 | ||||||
|         RemoteTCPSinkStarter::listAvailableDevices(); |         RemoteTCPSinkStarter::listAvailableDevices(); | ||||||
|         exit (EXIT_SUCCESS); |         return EXIT_SUCCESS; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     if (parser.getRemoteTCPSink()) { |     if (parser.getRemoteTCPSink()) { | ||||||
| @ -247,7 +247,9 @@ int main(int argc, char* argv[]) | |||||||
| 
 | 
 | ||||||
| 	int res = runQtApplication(argc, argv, logger); | 	int res = runQtApplication(argc, argv, logger); | ||||||
| 
 | 
 | ||||||
| 	delete logger; |     if (logger) { | ||||||
|  |         delete logger; | ||||||
|  |     } | ||||||
| 
 | 
 | ||||||
| 	qWarning("SDRangel quit."); | 	qWarning("SDRangel quit."); | ||||||
| 	return res; | 	return res; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user