goraft / raft

UNMAINTAINED: A Go implementation of the Raft distributed consensus protocol.
MIT License
2.43k stars 480 forks source link

Add EventDispatcher.RemoveEventListener(). #177

Closed benbjohnson closed 10 years ago

benbjohnson commented 10 years ago

This pull request adds a RemoveEventListener() function to EventDispatcher. I didn't add this originally because you can't check function equality with == but apparently it works if you use the reflect package.

philips commented 10 years ago

Lgtm