Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(221)

Issue 5491059: code review 5491059: time: close Timer/Ticker channel on Stop() (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 4 months ago by vadik
Modified:
13 years, 3 months ago
CC:
golang-dev
Visibility:
Public.

Description

time: close Timer/Ticker channel on Stop()

Patch Set 1 #

Patch Set 2 : diff -r 82fdc445f2ff https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 82fdc445f2ff https://go.googlecode.com/hg/ #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -6 lines) Patch
M src/pkg/time/sleep.go View 1 1 chunk +5 lines, -1 line 1 comment Download
M src/pkg/time/sleep_test.go View 1 1 chunk +5 lines, -2 lines 0 comments Download
M src/pkg/time/tick.go View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/pkg/time/tick_test.go View 1 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 11
vadik
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 4 months ago (2011-12-16 04:59:01 UTC) #1
vadik
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 4 months ago (2011-12-16 04:59:24 UTC) #2
jmaahir
jmaahir@hotmail.com
13 years, 4 months ago (2011-12-16 05:09:47 UTC) #3
iant
http://codereview.appspot.com/5491059/diff/4001/src/pkg/time/sleep.go File src/pkg/time/sleep.go (right): http://codereview.appspot.com/5491059/diff/4001/src/pkg/time/sleep.go#newcode41 src/pkg/time/sleep.go:41: if c, ok2 := t.r.arg.(chan Time); ok2 { I ...
13 years, 4 months ago (2011-12-16 05:59:22 UTC) #4
rsc
This came up once before and we decided not to do this. The problem is ...
13 years, 4 months ago (2011-12-16 06:01:03 UTC) #5
dvyukov
On Fri, Dec 16, 2011 at 10:01 AM, Russ Cox <rsc@golang.org> wrote: > This came ...
13 years, 4 months ago (2011-12-16 09:16:40 UTC) #6
vadik
On Dec 16, 2011 7:01 AM, "Russ Cox" <rsc@golang.org> wrote: > > This came up ...
13 years, 4 months ago (2011-12-16 09:24:41 UTC) #7
rsc
On Fri, Dec 16, 2011 at 04:16, Dmitry Vyukov <dvyukov@google.com> wrote: > Range with Ticker ...
13 years, 4 months ago (2011-12-16 15:13:24 UTC) #8
rsc
On Fri, Dec 16, 2011 at 04:24, Vadim Vygonets <unixdj@gmail.com> wrote: > Closing the issue? ...
13 years, 4 months ago (2011-12-16 15:13:33 UTC) #9
albert.strasheim
Hello On 2011/12/16 15:13:33, rsc wrote: > On Fri, Dec 16, 2011 at 04:24, Vadim ...
13 years, 3 months ago (2012-01-09 16:52:52 UTC) #10
rsc
13 years, 3 months ago (2012-01-09 18:56:52 UTC) #11
Let's leave the API as it is for now.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b