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