Gitlab Community Edition Instance
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cdstar
cdstar
Commits
587a6bc4
Commit
587a6bc4
authored
Nov 23, 2019
by
mhellka
Browse files
Closing a runtime already in CLOSING state should be a NOP.
parent
f0c8fdab
Changes
1
Hide whitespace changes
Inline
Side-by-side
cdstar-runtime/src/main/java/de/gwdg/cdstar/runtime/CDStarRuntime.java
View file @
587a6bc4
...
...
@@ -302,7 +302,7 @@ public class CDStarRuntime implements RuntimeContext, Closeable {
@Override
public
void
close
()
{
if
(
state
.
is
(
State
.
CLOSED
))
if
(
state
.
is
(
State
.
CLOSING
,
State
.
CLOSED
))
return
;
if
(
state
.
is
(
State
.
NEW
,
State
.
INITIALIZED
))
{
...
...
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