]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg/UefiDebugLibConOut: Add destructor to CloseEvent
authorXu, Wei6 <wei6.xu@intel.com>
Fri, 26 Jul 2019 03:10:53 +0000 (11:10 +0800)
committerLiming Gao <liming.gao@intel.com>
Mon, 29 Jul 2019 03:01:37 +0000 (11:01 +0800)
commite92bdcb3ecbf73b3a56378c1f6e054335215d939
treee97329ae707a45880200de046498614efed22297
parent87ad6913b4dbeb0a49c6edc997e845e63840e4c2
MdePkg/UefiDebugLibConOut: 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/UefiDebugLibConOut/DebugLibConstructor.c
MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf