Gitlab Community Edition Instance

Commit 587a6bc4 authored by mhellka's avatar mhellka
Browse files

Closing a runtime already in CLOSING state should be a NOP.

parent f0c8fdab
......@@ -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)) {
......
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