Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsuen2008-07-01 07:28:38 -0400
committerrsuen2008-07-01 07:28:38 -0400
commit2279841d58a63faea639ecbc3ef4de8db57e52ef (patch)
treecabb4db45cfcddf6b59e428d559f8af3a1c58be3
parentcdaa1f19b60694b9c2714ef5730762581c09cff9 (diff)
downloadorg.eclipse.ecf-2279841d58a63faea639ecbc3ef4de8db57e52ef.tar.gz
org.eclipse.ecf-2279841d58a63faea639ecbc3ef4de8db57e52ef.tar.xz
org.eclipse.ecf-2279841d58a63faea639ecbc3ef4de8db57e52ef.zip
Fix bug 238970 - [MSN] CPU usage increases significantly after connecting for a while
-rw-r--r--protocols/bundles/org.eclipse.ecf.protocol.msn/src/org/eclipse/ecf/protocol/msn/Session.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/bundles/org.eclipse.ecf.protocol.msn/src/org/eclipse/ecf/protocol/msn/Session.java b/protocols/bundles/org.eclipse.ecf.protocol.msn/src/org/eclipse/ecf/protocol/msn/Session.java
index 488bfe92b..d76166b1a 100644
--- a/protocols/bundles/org.eclipse.ecf.protocol.msn/src/org/eclipse/ecf/protocol/msn/Session.java
+++ b/protocols/bundles/org.eclipse.ecf.protocol.msn/src/org/eclipse/ecf/protocol/msn/Session.java
@@ -285,7 +285,10 @@ abstract class Session {
public void run() {
while (!isInterrupted()) {
try {
+ sleep(50);
read();
+ } catch (InterruptedException e) {
+ return;
} catch (IOException e) {
return;
} catch (RuntimeException e) {

Back to the top