mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Fix for Issue 35 Connection pool leak with findFutureRowCount(),
findFutureList() and findFutureIds()
This commit is contained in:
@@ -15,7 +15,7 @@ import java.util.concurrent.TimeoutException;
|
||||
*/
|
||||
public abstract class BaseFuture<T> implements Future<T> {
|
||||
|
||||
private final FutureTask<T> futureTask;
|
||||
protected final FutureTask<T> futureTask;
|
||||
|
||||
public BaseFuture(FutureTask<T> futureTask) {
|
||||
this.futureTask = futureTask;
|
||||
@@ -43,5 +43,4 @@ public abstract class BaseFuture<T> implements Future<T> {
|
||||
return futureTask.isDone();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user