silence websocket.CloseAbnormalClose

We get this when windows are closed, so really should treat it just
like any other close.
This commit is contained in:
Matthias Radestock
2016-08-05 19:07:03 +01:00
parent 9740fcca40
commit 25011f20e0
+1
View File
@@ -172,5 +172,6 @@ func IsExpectedWSCloseError(err error) bool {
websocket.CloseNormalClosure,
websocket.CloseGoingAway,
websocket.CloseNoStatusReceived,
websocket.CloseAbnormalClosure,
)
}