X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcache.C;h=a024fc43645bb362c35c35a8182eb532db9c9db4;hb=a83adbeeb3f8ecac29680f10b2c0bffcdd77008c;hp=9186f1f090b4bd52c0f3f93faf7fd3405102f2d5;hpb=f51838e3e7dec4553d8a85ad5c84c0e44764cae2;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/cache.C b/cinelerra-5.1/cinelerra/cache.C index 9186f1f0..a024fc43 100644 --- a/cinelerra-5.1/cinelerra/cache.C +++ b/cinelerra-5.1/cinelerra/cache.C @@ -118,13 +118,9 @@ File* CICache::check_out(Asset *asset, EDL *edl, int block) // cache deleted during checkout, destroy this if( users == 1 ) { remove_user(); - total_lock->unlock(); return 0; } - //printf("users: %i \n", users ); - EDL *parent = edl->parent_edl; - if(parent) remove_user(); total_lock->unlock(); //printf("check out %p %lx %s\n", current, tid, asset->path);