mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-12-22 16:29:51 +01:00
Fix interrupt handling
This commit is contained in:
@@ -100,6 +100,7 @@ public class GitHookEventFacade implements Closeable {
|
|||||||
internalJGitThread.join();
|
internalJGitThread.join();
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
LOG.debug("got interrupted in internal git thread for repository id {}", context.getRepositoryId(), e);
|
LOG.debug("got interrupted in internal git thread for repository id {}", context.getRepositoryId(), e);
|
||||||
|
Thread.currentThread().interrupt();
|
||||||
} finally {
|
} finally {
|
||||||
LOG.debug("internal git thread ended for repository id {}", context.getRepositoryId());
|
LOG.debug("internal git thread ended for repository id {}", context.getRepositoryId());
|
||||||
doFire(RepositoryHookType.POST_RECEIVE, context);
|
doFire(RepositoryHookType.POST_RECEIVE, context);
|
||||||
|
|||||||
Reference in New Issue
Block a user