Reentrance issue in DownloadManagerImpl::PostInitialization() |
||
Issue descriptionDownloadManagerImpl::PostInitialization() is called twice, one by history db, one by download db. If History db is initialized first, it will call OnHistoryQueryComplete() and set load_history_downloads_cb_. If download db is ready later, it calls PostInitialization() and which will call load_history_downloads_cb_ immediately. Since load_history_downloads_cb_ calls PostInitialization() again, we got an reentrance issue.
,
Oct 31
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Oct 31