mirror of
https://github.com/utmapp/edk2.git
synced 2026-12-01 07:53:33 -10:00
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1728 Currently Emulator meets ASSERT when enter setup->Continue->enter setup. When re-enter setup, the FeDriverHandle in FileExplorerLib Constructor is not NULL which cause InstallMultipleProtocolInterfaces failure, then ASSERT. So here set FeDriverHandle to NULL after uninstalling protocols on it in the Destructor function to avoid this issue. Cc: Liming Gao <[email protected]> Cc: Eric Dong <[email protected]> Cc: Hao Wu <[email protected]> Cc: Ruiyu Ni <[email protected]> Signed-off-by: Dandan Bi <[email protected]> Reviewed-by: Eric Dong <[email protected]>