• Mike Kaganski's avatar
    tdf#121143: don't send OnCloseApp twice; properly cleanup AppBasicManager · ba796f2c
    Mike Kaganski yazdı
    The OnCloseApp event is being sent twice: first time in
    SfxTerminateListener_Impl::notifyTermination (in Desktop::terminate),
    and the second time in Desktop::doShutdown. The second event happens
    after application's Basic manager already was destroyed in
    SfxApplication::Deinitialize. The Basic provider, which holds a pointer
    to the manager, doesn't properly cleanup upon the manager's destruction,
    thus trying to use it after free.
    
    This removes the second (duplicate) generated OnCloseApp event, and
    makes BasicProviderImpl inherit from SfxListener to allow receiving the
    manager's SfxHintId::Dying notification.
    
    Change-Id: Iabf1432c41b1925b11b5a89e5fd8a6ae8249831e
    Reviewed-on: https://gerrit.libreoffice.org/62810
    Tested-by: Jenkins
    Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
    ba796f2c
Adı
Son kayıt (commit)
Son güncelleme
..
baslibnode.cxx Loading commit data...
baslibnode.hxx Loading commit data...
basmethnode.cxx Loading commit data...
basmethnode.hxx Loading commit data...
basmodnode.cxx Loading commit data...
basmodnode.hxx Loading commit data...
basprov.component Loading commit data...
basprov.cxx Loading commit data...
basprov.hxx Loading commit data...
basscript.cxx Loading commit data...
basscript.hxx Loading commit data...