commit | 45293062080d030040c682ef76fc278fa67e8da0 | [log] [tgz] |
---|---|---|
author | Ken Gilmer <kgilmer@apache.org> | Sun Jan 08 03:50:26 2012 +0000 |
committer | Ken Gilmer <kgilmer@apache.org> | Sun Jan 08 03:50:26 2012 +0000 |
tree | e674bc8a72f278b4cf8f6c6edc843ac6385b180c | |
parent | 89471ac9b2dcbcec6d809f4fbcf09a5471637a9a [diff] |
httplite: check if thread was interrupted before proceeding with server shutdown optimization. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1228774 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/httplite/minimum/src/main/java/org/apache/felix/httplite/osgi/HttpServiceFactoryImpl.java b/httplite/minimum/src/main/java/org/apache/felix/httplite/osgi/HttpServiceFactoryImpl.java index 295880c..922a8db 100644 --- a/httplite/minimum/src/main/java/org/apache/felix/httplite/osgi/HttpServiceFactoryImpl.java +++ b/httplite/minimum/src/main/java/org/apache/felix/httplite/osgi/HttpServiceFactoryImpl.java
@@ -138,7 +138,7 @@ { Thread.sleep( 1000 * 30 ); - if (m_registrations == null || m_server == null) + if (m_registrations == null || m_server == null || Thread.interrupted()) { return; }