diff options
author | Luca Milanesio <luca.milanesio@gmail.com> | 2019-06-21 14:06:04 +0100 |
---|---|---|
committer | Luca Milanesio <luca.milanesio@gmail.com> | 2019-06-21 14:06:10 +0100 |
commit | b80b7176b0a18024c946d056f29e90b497e44420 (patch) | |
tree | 545f42618d5f5348b91148b1a4489fb45af20ce2 | |
parent | d5dc413fafa3bdb5e61f25f5f936f76e8c58d681 (diff) | |
parent | 6fcdcf98fe61e8c6258fb40967f0cff6b8c38fd4 (diff) |
Merge branch 'stable-2.16' into stable-3.0v3.0.1
* stable-2.16:
Make sure to always remove in-flight pushes
Change-Id: I574e150181d4cc63c8ebf6371b05093ee569c093
-rw-r--r-- | src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java b/src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java index 3ef1707..168c95f 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java +++ b/src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java @@ -389,10 +389,10 @@ class PushOne implements ProjectRunnable, CanceledWhileRunning { } catch (PermissionBackendException | RuntimeException | Error e) { stateLog.error("Unexpected error during replication to " + uri, e, getStatesAsArray()); } finally { + pool.notifyFinished(this); if (git != null) { git.close(); } - pool.notifyFinished(this); } } |