Commit fe91fa64 by fukai

完善释放连接

parent 96e32296
...@@ -141,7 +141,7 @@ public abstract class AbstractCommonController { ...@@ -141,7 +141,7 @@ public abstract class AbstractCommonController {
} finally { } finally {
if (context != null) if (context != null)
{ {
context.getSupport().disconnect(); //context.getSupport().disconnect();
context.dispose(); context.dispose();
} }
} }
......
...@@ -92,7 +92,7 @@ public class LoginController { ...@@ -92,7 +92,7 @@ public class LoginController {
finally{ finally{
if (context != null) if (context != null)
{ {
context.getSupport().disconnect(); //context.getSupport().disconnect();
context.dispose(); context.dispose();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment