xmpp/roster.go
changeset 162 7b5586a5e109
parent 158 2d948fcbb5d7
child 181 750bc33ccdda
--- a/xmpp/roster.go	Sun Sep 29 21:56:19 2013 -0600
+++ b/xmpp/roster.go	Mon Sep 30 18:59:37 2013 -0600
@@ -79,6 +79,7 @@
 	go r.rosterMgr(rosterUpdate)
 	recv := func(in <-chan Stanza, out chan<- Stanza) {
 		defer close(out)
+		defer close(rosterUpdate)
 		for stan := range in {
 			rosterUpdate <- stan
 			out <- stan