Fix error causing ClearEventListenerTest failure
This commit is contained in:
parent
d34153f52e
commit
44efc0162e
|
@ -2259,8 +2259,8 @@ public final class SessionImpl
|
|||
log.tracef( "SessionImpl#afterTransactionCompletion(successful=%s, delayed=%s)", successful, delayed );
|
||||
|
||||
if ( !isClosed() ) {
|
||||
if ( !successful && autoClear ) {
|
||||
clear();
|
||||
if ( autoClear ) {
|
||||
internalClear();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue