Merge pull request #61 from shunfei/develop

bugfix: emit nil event
pull/62/head^2
Doflatango 2018-02-24 15:55:24 +08:00 committed by GitHub
commit 0aaecc0e87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ func On(name string, fs ...func(interface{})) error {
}
for _, f := range fs {
if fs == nil {
if f == nil {
continue
}