Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
fixed uid lock may not be released in some cases
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
  • Loading branch information
ifedorenko committed Jan 9, 2013
1 parent 36e02dc commit 9646e29
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -964,10 +964,12 @@ public AbstractStorageItem doCacheItem( AbstractStorageItem item )

itemLock.lock( Action.create );

final Action action = getResultingActionOnWrite( item.getResourceStoreRequest() );
final Action action;

try
{
action = getResultingActionOnWrite( item.getResourceStoreRequest() );

getLocalStorage().storeItem( this, item );

removeFromNotFoundCache( item.getResourceStoreRequest() );
Expand Down

0 comments on commit 9646e29

Please sign in to comment.