• Pieter Noordhuis's avatar
    Fix the async free() and disconnect() functions · 29ea901b
    Pieter Noordhuis authored
    To make sure that these functions can also be called from functions
    other than command callbacks, the flag IN_CALLBACK is introduced that
    holds whether the context is currently executing a callback. If so,
    redisAsyncFree() and redisAsyncDisconnect() should delegate their task
    to the reply processor to avoid segfaults.
    29ea901b
hiredis.h 7.45 KB