mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 08:38:27 -05:00
removed a no longer true assert in the VM code
This commit is contained in:
parent
bdcb92f273
commit
10d91d7fb3
3
redis.c
3
redis.c
@ -2828,9 +2828,6 @@ static void decrRefCount(void *obj) {
|
|||||||
if (server.vm_enabled &&
|
if (server.vm_enabled &&
|
||||||
(o->storage == REDIS_VM_SWAPPED || o->storage == REDIS_VM_LOADING))
|
(o->storage == REDIS_VM_SWAPPED || o->storage == REDIS_VM_LOADING))
|
||||||
{
|
{
|
||||||
if (o->storage == REDIS_VM_SWAPPED || o->storage == REDIS_VM_LOADING) {
|
|
||||||
redisAssert(o->refcount == 1);
|
|
||||||
}
|
|
||||||
if (o->storage == REDIS_VM_LOADING) vmCancelThreadedIOJob(obj);
|
if (o->storage == REDIS_VM_LOADING) vmCancelThreadedIOJob(obj);
|
||||||
redisAssert(o->type == REDIS_STRING);
|
redisAssert(o->type == REDIS_STRING);
|
||||||
freeStringObject(o);
|
freeStringObject(o);
|
||||||
|
Loading…
Reference in New Issue
Block a user