efi_selftest: do not call CloseEvent() after ExitBootServices()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 12 Jul 2019 10:55:32 +0000 (12:55 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 16 Jul 2019 22:17:15 +0000 (22:17 +0000)
commit4e996a838c65a4cd319c32a62e1ff67c02ca969b
tree6abbed5682c15d20934eac0c655b0e195f2b3ab6
parenta35c33c0dc9ef9d2ab44cf677ac17a359c79b019
efi_selftest: do not call CloseEvent() after ExitBootServices()

Boot services are not available after calling ExitBootServices(). So we
should not try to close an event here.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
lib/efi_selftest/efi_selftest_exitbootservices.c