Added Output::disconnect() call
This commit is contained in:
		
							parent
							
								
									0385daabe8
								
							
						
					
					
						commit
						ee55646141
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		|  | @ -1530,8 +1530,11 @@ namespace Mist{ | |||
|       /*LTS-START*/ | ||||
|       if (!statsPage.isAlive()){ | ||||
|         INFO_MSG("Shutting down on controller request"); | ||||
|         onFinish(); | ||||
|         myConn.close(); | ||||
|         if (!onFinish()){ | ||||
|           myConn.close(); | ||||
|         }else{ | ||||
|           disconnect(); | ||||
|         } | ||||
|         return; | ||||
|       } | ||||
|       /*LTS-END*/ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Thulinma
						Thulinma