Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2009-06-05 04:17:33 +0000
committerEike Stepper2009-06-05 04:17:33 +0000
commitddc070d72906268870565dd605c399a468bb44ca (patch)
tree3434ce147137c95265199487c7748b5900718b84 /plugins/org.eclipse.net4j.http
parent41b4a1e580164e1a03003d22c770366c99b9fa3f (diff)
downloadcdo-ddc070d72906268870565dd605c399a468bb44ca.tar.gz
cdo-ddc070d72906268870565dd605c399a468bb44ca.tar.xz
cdo-ddc070d72906268870565dd605c399a468bb44ca.zip
[278970] Exception is hidden in CDOView close
https://bugs.eclipse.org/bugs/show_bug.cgi?id=278970
Diffstat (limited to 'plugins/org.eclipse.net4j.http')
-rw-r--r--plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/internal/http/HTTPClientConnector.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/internal/http/HTTPClientConnector.java b/plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/internal/http/HTTPClientConnector.java
index 688d2b0f07..0140e6d1c6 100644
--- a/plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/internal/http/HTTPClientConnector.java
+++ b/plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/internal/http/HTTPClientConnector.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Eike Stepper - initial API and implementation
*/
@@ -17,6 +17,8 @@ import org.eclipse.net4j.util.io.ExtendedDataOutputStream;
import org.eclipse.net4j.util.io.ExtendedIOAdapter;
import org.eclipse.net4j.util.io.ExtendedIOHandler;
import org.eclipse.net4j.util.io.IORuntimeException;
+import org.eclipse.net4j.util.lifecycle.LifecycleUtil;
+import org.eclipse.net4j.util.om.log.OMLogger;
import org.eclipse.spi.net4j.InternalChannel;
@@ -61,11 +63,13 @@ public class HTTPClientConnector extends HTTPConnector
{
}
+ @Override
public Location getLocation()
{
return Location.CLIENT;
}
+ @Override
public String getURL()
{
return url;
@@ -130,7 +134,7 @@ public class HTTPClientConnector extends HTTPConnector
protected void doDeactivate() throws Exception
{
doDisconnect();
- poller.deactivate();
+ LifecycleUtil.deactivate(poller, OMLogger.Level.WARN);
httpClient = null;
super.doDeactivate();
}

Back to the top