diff --git a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c index d8284f9f4f3..5f32ebb560a 100644 --- a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c +++ b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c @@ -1630,6 +1630,7 @@ PeiDispatcher ( Private->CurrentFileHandle = NULL; Private->CurrentPeimCount = 0; Private->CurrentFvFileHandles = NULL; + Private->AprioriCount = 0; } //