REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1728
Currently Emulator meets ASSERT when enter setup->Continue->enter setup. When re-enter setup, in the Constructor functions of some Libs linked by UiApp, the handle is not NULL which cause InstallMultipleProtocolInterfaces failure then ASSERT. So here set handle to NULL after uninstalling protocols on it in Libs Destructor function to avoid this issue. Cc: Liming Gao <liming....@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Hao Wu <hao.a...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Dandan Bi (2): MdeModulePkg/BMMUiLib: Set Handle to NULL after uninstall protocol MdeModulePkg/FileExplorer: Set Handle to NULL after uninstall protocol .../Library/BootMaintenanceManagerUiLib/BootMaintenance.c | 3 ++- MdeModulePkg/Library/FileExplorerLib/FileExplorer.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) -- 2.18.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#39395): https://edk2.groups.io/g/devel/message/39395 Mute This Topic: https://groups.io/mt/31306509/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-