Fixed TS input disconnect by controller
This commit is contained in:
		
							parent
							
								
									a8305396a2
								
							
						
					
					
						commit
						0de5ebfbf3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -560,7 +560,7 @@ namespace Mist{ | |||
|         // Connect to stats for INPUT detection
 | ||||
|         statComm.reload(); | ||||
|         if (statComm){ | ||||
|           if (statComm.getStatus() == COMM_STATUS_REQDISCONNECT){ | ||||
|           if (statComm.getStatus() & COMM_STATUS_REQDISCONNECT){ | ||||
|             config->is_active = false; | ||||
|             Util::logExitReason("received shutdown request from controller"); | ||||
|             return; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Thulinma
						Thulinma