// cache deleted during checkout, destroy this
if( users == 1 ) {
- remove_user();
+ current->Garbage::remove_user();
+ total_lock->unlock();
return 0;
}
- remove_user();
+ //printf("users: %i \n", users );
+
+ current->Garbage::remove_user();
total_lock->unlock();
//printf("check out %p %lx %s\n", current, tid, asset->path);
return current ? current->file : 0;