Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Devrim Gunyel
core
Commits
b8ea8cad
Commit
b8ea8cad
authored
Nov 11, 2019
by
Piotr Gawron
Browse files
session must be closed in the finally
parent
6ccf2fdf
Changes
1
Show whitespace changes
Inline
Side-by-side
web/src/main/java/lcsb/mapviewer/web/bean/utils/StartupBean.java
View file @
b8ea8cad
...
...
@@ -151,9 +151,10 @@ public class StartupBean {
logger
.
info
(
"Status of project: "
+
project
.
getProjectId
()
+
" changed to fail."
);
}
}
dbUtils
.
closeSessionForCurrentThread
();
}
catch
(
Exception
e
)
{
logger
.
error
(
"Problem with changing project status ..."
,
e
);
}
finally
{
dbUtils
.
closeSessionForCurrentThread
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment