From f36af211c08c298495a2da591137d7953ef71f53 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Fri, 22 May 2015 15:41:29 +0100 Subject: [PATCH] cosmetic --- router/connection.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/router/connection.go b/router/connection.go index 2baa2233..980de454 100644 --- a/router/connection.go +++ b/router/connection.go @@ -202,9 +202,7 @@ func (conn *LocalConnection) Shutdown(err error) { } // Run on its own goroutine in case the channel is backed up - go func() { - conn.sendAction(func() error { return err }) - }() + go func() { conn.sendAction(func() error { return err }) }() } // Async