Merge pull request #603 from elliotwms/patch-1
Fix spelling of deregisters
Peter Bourgon authored 5 years ago
GitHub committed 5 years ago
77 | 77 | } |
78 | 78 | } |
79 | 79 | |
80 | // Close de-registeres DefaultEndpointer from the Instancer and stops the internal go-routine. | |
80 | // Close deregisters DefaultEndpointer from the Instancer and stops the internal go-routine. | |
81 | 81 | func (de *DefaultEndpointer) Close() { |
82 | 82 | de.instancer.Deregister(de.ch) |
83 | 83 | close(de.ch) |