New issue
Advanced search Search tips

Issue 867414 link

Starred by 8 users

Issue metadata

Status: Duplicate
Merged: issue 888215
Owner:
Closed: Oct 25
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug
Proj-Servicification



Sign in to add a comment

NetworkService leaks in unit tests

Reported by fl.l...@gmail.com, Jul 25

Issue description

In unit tests, StoragePartitionImpl::GetNetworkContext creates NetworkService, but it never gets destroyed.

NetworkService also creates and owns NetworkChangeNotifier, so it gets leaked as well.
NetworkChangeNotifier is supposed to clear g_network_change_notifier in its destructor, but it doesn't happen.
Thus, the next test creating a NetworkChangeNotifier hits "Check failed: !g_network_change_notifier.".

network-service-dev thread - https://groups.google.com/a/chromium.org/forum/#!msg/network-service-dev/IgNFrq1zFHI/FNCAplsCCQAJ
 
Cc: mmenke@chromium.org
Components: Internals>Services>Network
Labels: Hotlist-KnownIssue
Cc: donna...@intel.com
Cc: -donna...@intel.com
Cc: sebmarchand@chromium.org
 Issue 897185  has been merged into this issue.
Owner: sebmarchand@chromium.org
This is blocking me now so I've started working on fixing this.
Is this the same as  issue 888215 ?
Mergedinto: 888215
Status: Duplicate (was: Unconfirmed)
Yep, marking it as a dup.

Sign in to add a comment