]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg/UefiDebugLibDebugPortProtocol: Add destructor to CloseEvent
authorXu, Wei6 <wei6.xu@intel.com>
Fri, 26 Jul 2019 03:10:54 +0000 (11:10 +0800)
committerLiming Gao <liming.gao@intel.com>
Mon, 29 Jul 2019 03:01:40 +0000 (11:01 +0800)
commit0f4b77f5b2efe4de8694c02c1cead7418595f1cb
treeda0b7de428a65bf01f59a75c419e4e26e7615c82
parente92bdcb3ecbf73b3a56378c1f6e054335215d939
MdePkg/UefiDebugLibDebugPortProtocol: Add destructor to CloseEvent

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2012

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.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Wei6 Xu <wei6.xu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c
MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf