Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

gps: remove unused context.WithCancel #1153

Merged
merged 1 commit into from
Sep 11, 2017
Merged

gps: remove unused context.WithCancel #1153

merged 1 commit into from
Sep 11, 2017

Conversation

tamird
Copy link
Contributor

@tamird tamird commented Sep 11, 2017

Remove unnecessary getLifetimeContext method while I'm here.

What does this do / why do we need it?

Removes unnecessary code.

What should your reviewer look out for in this PR?

Nothing, this is simple.

Do you need help or clarification on anything?

No.

Which issue(s) does this PR fix?

None.

Remove unnecessary getLifetimeContext method while I'm here.
@sdboyer
Copy link
Member

sdboyer commented Sep 11, 2017

ahh good catch - original intent was to allow restarting the supervisor, which is why it needed its own cancel func independent of the top-level one. never came to pass, though.

@sdboyer sdboyer merged commit beb6bb1 into golang:master Sep 11, 2017
@tamird tamird deleted the remove-ununused-cancel branch September 11, 2017 16:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants