Fix memory leak in threadLocal on implicit transactions (#1711)

* refactor TestExecutionComplete

* Add more tests to discover missing threadScope cleanups

* FIX: clear threadScope on implicit created Jdbc transactions

* FIX: clear threadScope on completed JTA transactions

* Revert "FIX: clear threadScope on completed JTA transactions"

This reverts commit f844405542.
This commit is contained in:
Roland Praml authored and Rob Bygrave committed 2019-05-18 10:00:34 +12:00
1 parent 2b1b4af7a2
commit 2678f85506
5 files changed
+75 -12

No files matched your search

@@ -34,6 +34,11 @@ public abstract class TransactionScopeManager implements SpiTransactionScopeMana
*/
public abstract void set(SpiTransaction trans);
/**
* Clears the given Transaction for this serverName and Thread.
*/
public abstract void clear(SpiTransaction trans);
/**
* Replace the current transaction with this one.
* <p>