Preserve tread interrupted status

pull/550/head
Mikhail Mazurskiy 9 years ago
parent 877025fb87
commit c3dcb08023

@ -288,6 +288,7 @@ public class HikariDataSource extends HikariConfig implements DataSource, Closea
} }
catch (InterruptedException e) { catch (InterruptedException e) {
LOGGER.warn("Interrupted during closing", e); LOGGER.warn("Interrupted during closing", e);
Thread.currentThread().interrupt();
} }
} }
} }

Loading…
Cancel
Save