REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2012
This patch set adds missing destructor for following libraries: MdePkg\Library\UefiDebugLibStdErr MdePkg\Library\UefiDebugLibConOut MdePkg\Library\UefiDebugLibDebugPortProtocol When driver is unloaded, the ExitBootSerivesEvent must be closed at the same time. Otherwise exception will occur when ExitBootServices. Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Liming Gao <liming....@intel.com> Wei6 Xu (3): MdePkg/UefiDebugLibConOut: Add destructor to CloseEvent MdePkg/UefiDebugLibDebugPortProtocol: Add destructor to CloseEvent MdePkg/UefiDebugLibStdErr: Add destructor to CloseEvent .../UefiDebugLibConOut/DebugLibConstructor.c | 23 ++++++++++++++++++++++ .../UefiDebugLibConOut/UefiDebugLibConOut.inf | 1 + .../DebugLibConstructor.c | 23 ++++++++++++++++++++++ .../UefiDebugLibDebugPortProtocol.inf | 1 + .../UefiDebugLibStdErr/DebugLibConstructor.c | 23 ++++++++++++++++++++++ .../UefiDebugLibStdErr/UefiDebugLibStdErr.inf | 1 + 6 files changed, 72 insertions(+) -- 2.16.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#44432): https://edk2.groups.io/g/devel/message/44432 Mute This Topic: https://groups.io/mt/32605737/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-