Skip to content

Commit

Permalink
Merge pull request #12 from dreab8/HHH-10664_ClearEventListenerTest
Browse files Browse the repository at this point in the history
Fix error causing ClearEventListenerTest failure
  • Loading branch information
sebersole committed Apr 27, 2016
2 parents d22bd95 + b69b1a2 commit 89068ea
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -2259,8 +2259,8 @@ public void afterTransactionCompletion(boolean successful, boolean delayed) {
log.tracef( "SessionImpl#afterTransactionCompletion(successful=%s, delayed=%s)", successful, delayed );

if ( !isClosed() ) {
if ( !successful && autoClear ) {
clear();
if ( autoClear ) {
internalClear();
}
}

Expand Down

0 comments on commit 89068ea

Please sign in to comment.