mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 15:30:49 +08:00 
			
		
		
		
	Do not crash host on Dispose
This commit is contained in:
		@@ -105,7 +105,8 @@ namespace Ocelot.Configuration.Repository
 | 
			
		||||
 | 
			
		||||
        public void Dispose()
 | 
			
		||||
        {
 | 
			
		||||
            _timer.Dispose();
 | 
			
		||||
            _timer?.Dispose();
 | 
			
		||||
            _timer = null;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user