EventHandler that calls Emit() results in a deadlock

A deadlock condition will result when Emit() is called within an EventHandler(). Run go test -v to see the deadlock.