mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-30 09:43:17 -04:00 
			
		
		
		
	
		
			
	
	
		
			10 lines
		
	
	
		
			176 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			10 lines
		
	
	
		
			176 B
		
	
	
	
		
			Go
		
	
	
	
	
	
|  | package file
 | ||
|  | 
 | ||
|  | // OnShutdown shuts down any running go-routines for this zone.
 | ||
|  | func (z *Zone) OnShutdown() error {
 | ||
|  | 	if !z.NoReload {
 | ||
|  | 		z.reloadShutdown <- true
 | ||
|  | 	}
 | ||
|  | 	return nil
 | ||
|  | }
 |