mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
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:
committed by
Rob Bygrave
parent
2b1b4af7a2
commit
2678f85506
@@ -42,5 +42,9 @@ public class DefaultTransactionScopeManager extends TransactionScopeManager {
|
||||
DefaultTransactionThreadLocal.set(serverName, trans);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void clear(SpiTransaction trans) {
|
||||
DefaultTransactionThreadLocal.clear(serverName, trans);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user