• Binbin's avatar
    Fix invalid dictNext usage when pubsubshard_channels became empty (#13033) · 80965154
    Binbin authored
    After #12822, when pubsubshard_channels became empty, kvstoreDictDelete
    will delete the dict (which is the only one currently deleting dicts
    that
    become empty) and in the next loop, we will make an invalid call to
    dictNext.
    
    After the dict becomes empty, we break out of the loop without calling
    dictNext.
    80965154
pubsub.c 26.7 KB