• Yanqi Lv's avatar
    Change dictGetSafeIterator to dictGetIterator in pubsub (#12931) · 85a239b3
    Yanqi Lv authored
    In #12838, we misuse the safe iterator of the client dict, so we can't
    catch the synchronous release of the client if there is a bug.
    
    Since we realize that clients (even subscribers) are released with async
    free, we change the safe iterators of the client dict into unsafe
    iterators in `pubsub.c`. And I also remove redundant code.
    85a239b3
pubsub.c 27.5 KB