1 files changed, 1 insertions(+), 0 deletions(-)

M dispatch.go
M dispatch.go +1 -0
@@ 61,6 61,7 @@ func (d *dispatcher) Close(id uint32) {
 		if k != id {
 			newchan[k] = v // copy all data from the current object to the new one
 		} else {
+			// close channel so we don't leak it
 			close(v)
 		}
 	}