New issue
Advanced search Search tips

Issue 674743 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

IconLoader work needed

Project Member Reported by a...@chromium.org, Dec 15 2016

Issue description

There are lifetime issues with IconLoader.

Scott notes in https://codereview.chromium.org/2440273002/ :

In reviewing this code it seems like IconManager is racy. In particular
IconManager is not ref counted, but IconLoader is. IconLoader references
IconManager through it's a delegate. This means it's possible for IconLoader to
outlive it's delegate. Seems this function should null out the delegates (and
you should keep the null check in IconLoader::NotifyDelegate).
 

Comment 2 by a...@chromium.org, Dec 17 2016

Status: Fixed (was: Started)

Sign in to add a comment