commit | 0ae2671124a94d8ec65966b653281759e271f339 | [log] [tgz] |
---|---|---|
author | Alice Kober-Sotzek <aliceks@google.com> | Fri Jun 28 09:59:46 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Jun 28 09:59:46 2019 +0000 |
tree | c0bae737b86db7fd50d4f6f195147c1fb3a0bec8 | |
parent | 1e7930decf1b87cca3c4ed746d683957802fb728 [diff] | |
parent | 88c979d99aa7e839a79644e4491dd7a256d679f7 [diff] |
Merge "Adapt to changed API in Gerrit core for creating metric fields"
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 @@ } 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); } }