mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Fix missed change to GetManager() (#9361)
This commit is contained in:
		@@ -13,7 +13,7 @@ import "net"
 | 
				
			|||||||
// On windows this is basically just a shim around net.Listen.
 | 
					// On windows this is basically just a shim around net.Listen.
 | 
				
			||||||
func GetListener(network, address string) (net.Listener, error) {
 | 
					func GetListener(network, address string) (net.Listener, error) {
 | 
				
			||||||
	// Add a deferral to say that we've tried to grab a listener
 | 
						// Add a deferral to say that we've tried to grab a listener
 | 
				
			||||||
	defer Manager.InformCleanup()
 | 
						defer GetManager().InformCleanup()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return net.Listen(network, address)
 | 
						return net.Listen(network, address)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user