diff --git a/widget/src/mac/nsMacMessagePump.cpp b/widget/src/mac/nsMacMessagePump.cpp index 2d4e00322b0..fa7f4a8cc5a 100644 --- a/widget/src/mac/nsMacMessagePump.cpp +++ b/widget/src/mac/nsMacMessagePump.cpp @@ -290,6 +290,11 @@ PRBool nsMacMessagePump::BrowserIsBusy() do // convenience for breaking. We'll start by assuming that we're busy. { + /* + * Don't count connections for now; mailnews holds server connections open, + * and that causes us to behave as busy even when we're not, which eats CPU + * time and makes machines run hot. + nsCOMPtr socketTransport = do_GetService(kSocketTransportServiceCID); if (socketTransport) { @@ -307,7 +312,7 @@ PRBool nsMacMessagePump::BrowserIsBusy() if (inUseTransports > 0) break; } - + */ if (mToolkit->ToolkitBusy()) break;