1、修复dc数据库连接没有释放的bug

2、socket server 添加连接client限制,防止同时多个client连接导致dc程序不能正常运行的问题
This commit is contained in:
fangshunjian
2018-11-21 13:26:37 +08:00
parent ba43f4203d
commit e0737f8a42
6 changed files with 90 additions and 33 deletions

View File

@@ -348,6 +348,11 @@ public class ChangePluginScriptFile implements Runnable {
} catch (SQLException e) {
logger.error("Delete EventRecordLibrary", e);
} finally {
if (dao != null) {
dao.close();
dao = null;
}
}