Skip to content

Commit

Permalink
[JBJCA-1467] Don't invoke endRequest notification for destroyed conne…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
tadamski committed Jul 11, 2023
1 parent 7a9af1d commit 3a77c51
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -840,7 +840,7 @@ public void returnConnection(ConnectionListener cl, boolean kill) throws Resourc
{
cl.setTrackByTx(false);

if(cl.getManagedConnection() instanceof NotifyingManagedConnection){
if(!kill && cl.getManagedConnection() instanceof NotifyingManagedConnection){
((NotifyingManagedConnection)cl.getManagedConnection()).notifyRequestEnd();
}

Expand Down

0 comments on commit 3a77c51

Please sign in to comment.