* Only attempt to kill parent once * Apply suggestions from code review Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * Add waitgroup for running servers
		
			
				
	
	
		
			17 lines
		
	
	
		
			439 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			439 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // +build windows
 | |
| 
 | |
| // Copyright 2019 The Gitea Authors. All rights reserved.
 | |
| // Use of this source code is governed by a MIT-style
 | |
| // license that can be found in the LICENSE file.
 | |
| // This code is heavily inspired by the archived gofacebook/gracenet/net.go handler
 | |
| 
 | |
| package graceful
 | |
| 
 | |
| // This file contains shims for windows builds
 | |
| const IsChild = false
 | |
| 
 | |
| // WaitForServers waits for all running servers to finish
 | |
| func WaitForServers() {
 | |
| 
 | |
| }
 |