Kaydet (Commit) 3c0cb54b authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Noel Grandin

crashtesting: doubly deleted reloadtimer

since...

commit 0cc70223
Date:   Tue Dec 4 15:00:43 2018 +0200

    use unique_ptr in SfxObjectShell_Impl

    Change-Id: I3f3b0514bdb87f59d9c5f34d2d36dc63e8b1e33d
    Reviewed-on: https://gerrit.libreoffice.org/64527

Change-Id: I00e2cd2bcbb9a252a45d31da650e327506d2990d
Reviewed-on: https://gerrit.libreoffice.org/64780
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst e5efd197
......@@ -1284,14 +1284,14 @@ void AutoReloadTimer_Impl::Invoke()
SfxStringItem(SID_REFERER, pObjSh->GetMedium()->GetName()));
}
SfxRequest aReq( SID_RELOAD, SfxCallMode::SLOT, aSet );
pObjSh->Get_Impl()->pReloadTimer = nullptr;
delete this;
// this will delete this
pObjSh->Get_Impl()->pReloadTimer.reset();
pFrame->ExecReload_Impl( aReq );
return;
}
pObjSh->Get_Impl()->pReloadTimer = nullptr;
delete this;
// this will delete this
pObjSh->Get_Impl()->pReloadTimer.reset();
}
SfxModule* SfxObjectShell::GetModule() const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment