Permalink
Browse files

removed a no longer true assert in the VM code

  • Loading branch information...
1 parent bdcb92f commit 10d91d7fb373e9e70ce22d4f796d59d5510d6ee5 @antirez committed Apr 9, 2010
Showing with 0 additions and 3 deletions.
  1. +0 −3 redis.c
View
@@ -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);

0 comments on commit 10d91d7

Please sign in to comment.