mirror of
				https://github.com/2dust/v2rayN.git
				synced 2025-11-03 22:12:52 +00:00 
			
		
		
		
	预防闪退
This commit is contained in:
		
							parent
							
								
									a6fcf53b10
								
							
						
					
					
						commit
						ec3eb2215b
					
				
					 1 changed files with 23 additions and 16 deletions
				
			
		| 
						 | 
				
			
			@ -34,6 +34,8 @@ namespace v2rayN.Base
 | 
			
		|||
        }
 | 
			
		||||
 | 
			
		||||
        private void StartListen()
 | 
			
		||||
        {
 | 
			
		||||
            try
 | 
			
		||||
            {
 | 
			
		||||
                listener = new TcpListener(IPAddress.Any, port);
 | 
			
		||||
                listener.Start();
 | 
			
		||||
| 
						 | 
				
			
			@ -56,6 +58,11 @@ namespace v2rayN.Base
 | 
			
		|||
                    Thread.Sleep(1);
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
            catch
 | 
			
		||||
            {
 | 
			
		||||
                Utils.SaveLog("WebserverB start fail.");
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        private void ProcessThread(object obj)
 | 
			
		||||
        {
 | 
			
		||||
            try
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue