func (l *NamedPipeListener) Stop() {
	// Request closing connections
	l.connections.closeAllConns <- struct{}{}

	// Wait until all connections are closed
	<-l.connections.allConnsClosed

	l.packetManager.Close()
	l.pipe.Close()
}
// Stop closes the connection and stops listening
Stop closes the connection and stops listening
// Stop closes the connection and stops listening
func (l *NamedPipeListener) Stop() {
	l.connections.closeAllConns <- struct{}{}
	<-l.connections.allConnsClosed
	l.packetManager.Close()
	l.pipe.Close()
}
func ( l * NamedPipeListener ) Stop ( ) { l . connections . closeAllConns <- struct { } { } <- l . connections . allConnsClosed l . packetManager . Close ( ) l . pipe . Close ( ) }
Stop closes the connection and stops listening
Stop closes the connection and stops listening
// Request closing connections // Wait until all connections are closed