[jboss-cvs] JBossCache/src/org/jboss/cache/interceptors ...
Manik Surtani
manik at jboss.org
Tue May 29 10:18:14 EDT 2007
User: msurtani
Date: 07/05/29 10:18:14
Modified: src/org/jboss/cache/interceptors TxInterceptor.java
Log:
clean up thread local state after a tx commits/rolls back
Revision Changes Path
1.83 +1 -2 JBossCache/src/org/jboss/cache/interceptors/TxInterceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TxInterceptor.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/interceptors/TxInterceptor.java,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -b -r1.82 -r1.83
--- TxInterceptor.java 23 May 2007 18:44:56 -0000 1.82
+++ TxInterceptor.java 29 May 2007 14:18:13 -0000 1.83
@@ -1055,8 +1055,7 @@
// clean up the tx table
txTable.remove(gtx);
txTable.remove(tx);
- // this should not be necessary since the ctx is local to the sync which will now be gc'd.
- // setTransactionalContext(null, null, ctx);
+ setTransactionalContext(null, null, ctx);
cleanupInternalState();
}
}
More information about the jboss-cvs-commits
mailing list