mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-12-21 15:59:48 +01:00
Fix interrupt handling
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user