Merge branch 'master' into netty4_transport

* master:
  Restore interruption flag correctly in life cycle service

Original commit: elastic/x-pack-elasticsearch@5da6471c9a
This commit is contained in:
Jason Tedor 2016-08-03 11:11:16 -04:00
commit 33ba52e735
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ public class WatcherLifeCycleService extends AbstractComponent implements Cluste
try { try {
latch.await(); latch.await();
} catch (InterruptedException e) { } catch (InterruptedException e) {
Thread.interrupted(); Thread.currentThread().interrupt();
} }
} }