mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 561716 - Disable link monitoring in the child process to avoid g_type_init assertions. r=dougt
This commit is contained in:
parent
29340ff3a4
commit
e65a07747f
@ -271,9 +271,11 @@ nsIOService::Init()
|
||||
NS_TIME_FUNCTION_MARK("Set up the recycling allocator");
|
||||
|
||||
gIOService = this;
|
||||
|
||||
// go into managed mode if we can
|
||||
mNetworkLinkService = do_GetService(NS_NETWORK_LINK_SERVICE_CONTRACTID);
|
||||
|
||||
// go into managed mode if we can, and chrome process
|
||||
if (XRE_GetProcessType() == GeckoProcessType_Default)
|
||||
mNetworkLinkService = do_GetService(NS_NETWORK_LINK_SERVICE_CONTRACTID);
|
||||
|
||||
if (!mNetworkLinkService)
|
||||
mManageOfflineStatus = PR_FALSE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user