public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [patch 0/2] Fix Emulator ASSERT issue when re-enter setup
@ 2019-04-23  7:00 Dandan Bi
  2019-04-23  7:00 ` [patch 1/2] MdeModulePkg/BMMUiLib: Set Handle to NULL after uninstall protocol Dandan Bi
  2019-04-23  7:00 ` [patch 2/2] MdeModulePkg/FileExplorer: " Dandan Bi
  0 siblings, 2 replies; 5+ messages in thread
From: Dandan Bi @ 2019-04-23  7:00 UTC (permalink / raw)
  To: devel; +Cc: Liming Gao, Eric Dong, Hao Wu, Ruiyu Ni

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.gao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-04-25  1:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-23  7:00 [patch 0/2] Fix Emulator ASSERT issue when re-enter setup Dandan Bi
2019-04-23  7:00 ` [patch 1/2] MdeModulePkg/BMMUiLib: Set Handle to NULL after uninstall protocol Dandan Bi
2019-04-25  1:55   ` [edk2-devel] " Dong, Eric
2019-04-23  7:00 ` [patch 2/2] MdeModulePkg/FileExplorer: " Dandan Bi
2019-04-25  1:55   ` Dong, Eric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox