Improve: delete useless code and code coverage is now 100%
This commit is contained in:
@ -50,7 +50,6 @@ func (o *Observable) Subscribe() (Subscription, error) {
|
||||
func (o *Observable) UnSubscribe(sub Subscription) {
|
||||
elm, exist := o.listener.Load(sub)
|
||||
if !exist {
|
||||
println("not exist")
|
||||
return
|
||||
}
|
||||
subscriber := elm.(*Subscriber)
|
||||
|
Reference in New Issue
Block a user