commit | c0156cb86828445c65a5cca152fb9e3a97ed00bb | [log] [tgz] |
---|---|---|
author | Suharsh Sivakumar <suharshs@google.com> | Thu May 12 13:10:18 2016 -0700 |
committer | Suharsh Sivakumar <suharshs@google.com> | Thu May 12 13:10:32 2016 -0700 |
tree | 617f7155bba3fe0352371deb1951f7bd02e07b53 | |
parent | a8ae8ceb204d2e70e6ffed5474dd26501ac44e46 [diff] |
context: Fix removeChild function. Change-Id: Iae0d109128f7d3214cb4d6f6cf5398068ed9013a
diff --git a/context/context.go b/context/context.go index f70d2f1..b52ecfc 100644 --- a/context/context.go +++ b/context/context.go
@@ -246,7 +246,7 @@ func (c *cancelState) removeChild(child *cancelState) { c.mu.Lock() - delete(c.children, c) + delete(c.children, child) c.mu.Unlock() }