1
0
mirror of https://github.com/golang/go synced 2024-10-01 12:48:33 -06:00
go/playground/socket
Andrew Gerrand 8b178a93c1 playground/socket: fix message buffering
Use time.After to avoid the finnicky antics of
correctly resetting a time.Timer.

Fixes golang/go#13749

Change-Id: I3f1ed17a31d981996e2bb7a8155c3ba0ec723c7d
Reviewed-on: https://go-review.googlesource.com/19942
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
2016-02-29 11:33:26 +00:00
..
socket_test.go playground/socket: only buffer messages of one kind, add tests 2015-10-30 06:08:43 +00:00
socket.go playground/socket: fix message buffering 2016-02-29 11:33:26 +00:00