Skip to content

Commit

Permalink
removed a no longer true assert in the VM code
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Apr 9, 2010
1 parent bdcb92f commit 10d91d7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions redis.c
Original file line number Diff line number Diff line change
Expand Up @@ -2828,9 +2828,6 @@ static void decrRefCount(void *obj) {
if (server.vm_enabled &&
(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);
redisAssert(o->type == REDIS_STRING);
freeStringObject(o);
Expand Down

0 comments on commit 10d91d7

Please sign in to comment.