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

Issue 7409043: code review 7409043: go-tour: set PlayEnabled flag before parsing (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by adg
Modified:
11 years, 2 months ago
Reviewers:
CC:
golang-dev, r
Visibility:
Public.

Description

go-tour: set PlayEnabled flag before parsing initTour is called from init funcs in local.go and appengine.go, while PlayEnabled was being set by an init func in tour.go. It was possible that initTour would be called, rendering the tour, before PlayEnabled is set to true.

Patch Set 1 #

Patch Set 2 : diff -r d359c6b8e4c2 https://code.google.com/p/go-tour #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -4 lines) Patch
M gotour/tour.go View 1 chunk +3 lines, -4 lines 0 comments Download

Messages

Total messages: 3
adg
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go-tour
11 years, 2 months ago (2013-02-26 02:20:10 UTC) #1
r
LGTM
11 years, 2 months ago (2013-02-26 02:24:03 UTC) #2
adg
11 years, 2 months ago (2013-02-26 02:36:40 UTC) #3
*** Submitted as https://code.google.com/p/go-tour/source/detail?r=9d5982e4fe5c
***

go-tour: set PlayEnabled flag before parsing

initTour is called from init funcs in local.go and appengine.go,
while PlayEnabled was being set by an init func in tour.go.
It was possible that initTour would be called, rendering the tour,
before PlayEnabled is set to true.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/7409043
Sign in to reply to this message.

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