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

Unified Diff: mstate/unit.go

Issue 6489111: mstate: use Dead channels rather than Dying for watcher and presence
Patch Set: mstate: use Dead channels rather than Dying for watcher and presence Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mstate/presence/presence_test.go ('k') | mstate/watcher.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mstate/unit.go
=== modified file 'mstate/unit.go'
--- mstate/unit.go 2012-09-11 13:23:57 +0000
+++ mstate/unit.go 2012-09-11 13:52:21 +0000
@@ -243,7 +243,7 @@
}
case <-time.After(timeout):
return fmt.Errorf("still not alive after timeout")
- case <-u.st.pwatcher.Dying():
+ case <-u.st.pwatcher.Dead():
return u.st.pwatcher.Err()
}
}
« no previous file with comments | « mstate/presence/presence_test.go ('k') | mstate/watcher.go » ('j') | no next file with comments »

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