Descriptiondrive: Fix lifetime model of FileBrowserEventRouter
Previously, FileBrowserEventRouter was a ref counted class, but the weak pointer was
also used, which doesn't make much sense. Fix the weird lifetime model by making this
a non refcounted class.
Besides, in certain cases, FileBrowserEventRouter could outlive DBusThreadManager and
PrefService, which caused crash at shutdown.
BUG=227477
TEST=none
Patch Set 1 #
Total comments: 6
Patch Set 2 : address comments #
Total comments: 2
Messages
Total messages: 8 (0 generated)
|