mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 11:15:07 +03:00 
			
		
		
		
	Fix first queued packet on session pcreation
This commit is contained in:
		
							parent
							
								
									1c59338f01
								
							
						
					
					
						commit
						366d2af1d3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -279,7 +279,7 @@ func (ss *sessions) handlePing(ping *sessionPing) {
 | 
			
		|||
		// send
 | 
			
		||||
		var bs []byte
 | 
			
		||||
		bs, sinfo.packet = sinfo.packet, nil
 | 
			
		||||
		go func() { sinfo.send <- bs }()
 | 
			
		||||
		ss.core.router.sendPacket(bs)
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue