提交 4416c292 authored 作者: Thomas Mueller's avatar Thomas Mueller

Bugfix

上级 e765f321
...@@ -85,6 +85,7 @@ public class SessionRemote extends SessionWithState implements DataHandler { ...@@ -85,6 +85,7 @@ public class SessionRemote extends SessionWithState implements DataHandler {
private DatabaseEventListener eventListener; private DatabaseEventListener eventListener;
private LobStorageFrontend lobStorage; private LobStorageFrontend lobStorage;
private boolean cluster; private boolean cluster;
private TempFileDeleter tempFileDeleter;
public SessionRemote(ConnectionInfo ci) { public SessionRemote(ConnectionInfo ci) {
this.connectionInfo = ci; this.connectionInfo = ci;
...@@ -687,7 +688,10 @@ public class SessionRemote extends SessionWithState implements DataHandler { ...@@ -687,7 +688,10 @@ public class SessionRemote extends SessionWithState implements DataHandler {
@Override @Override
public TempFileDeleter getTempFileDeleter() { public TempFileDeleter getTempFileDeleter() {
return TempFileDeleter.getInstance(); if (tempFileDeleter == null) {
tempFileDeleter = TempFileDeleter.getInstance();
}
return tempFileDeleter;
} }
@Override @Override
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论