Fix interrupt handling

This commit is contained in:
René Pfeuffer
2021-02-04 09:23:32 +01:00
parent 44577e9bc4
commit 04c6243f64

View File

@@ -100,6 +100,7 @@ public class GitHookEventFacade implements Closeable {
internalJGitThread.join();
} catch (InterruptedException e) {
LOG.debug("got interrupted in internal git thread for repository id {}", context.getRepositoryId(), e);
Thread.currentThread().interrupt();
} finally {
LOG.debug("internal git thread ended for repository id {}", context.getRepositoryId());
doFire(RepositoryHookType.POST_RECEIVE, context);