audk/ShellPkg/Application/Shell
Ruiyu Ni 031403460c ShellPkg: Unregister hotkey callback when exiting Shell
Commit 9168df3dea
"ShellPkg/ShellProtocol.c: Handle memory allocation failure"
only keeps the protocol clean up in CleanUpShellProtocol() and
creates a new function CleanUpShellEnvironment() which calls
CleanUpShellProtocol(), then unregisters the hotkey callback.

But the commit forgot to change the Shell.c to call
CleanUpShellEnvironment() which causes the hotkey callback is
not unregistered while the callback function doesn't exist
when Shell exits.

This causes system hang when pressing CTRL+C after exiting shell.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
2016-07-29 09:52:40 +08:00
..
ConsoleLogger.c ShellPkg: Make BOOLEAN variable not use explicit comparison. 2015-06-23 01:04:26 +00:00
ConsoleLogger.h Fix CRLF format 2014-01-22 08:40:29 +00:00
ConsoleWrappers.c ShellPkg: Fix memory leak in SimpleTextOutput on file. 2015-12-23 05:36:10 +00:00
ConsoleWrappers.h ShellPkg: Standardized HP Copyright Message String 2015-02-04 22:25:01 +00:00
FileHandleInternal.h Fix CRLF format 2014-01-22 08:40:29 +00:00
FileHandleWrappers.c ShellPkg/IsVolatileEnv: Handle memory allocation failure 2016-07-18 10:54:59 +08:00
FileHandleWrappers.h udk2010.up2.shell initial release. 2010-09-14 05:18:09 +00:00
Shell.c ShellPkg: Unregister hotkey callback when exiting Shell 2016-07-29 09:52:40 +08:00
Shell.h ShellPkg: Move FindFirstCharacter/GetNextParameter to ShellCommandLib 2016-07-20 10:27:51 +08:00
Shell.inf ShellPkg: Update Guid/Protocol usages in INF files. 2016-04-13 14:52:59 +08:00
Shell.uni report line number for command errors in a script. 2016-05-12 08:15:00 -07:00
ShellEnvVar.c ShellPkg/ShellAddEnvVarToList: Handle memory allocation failure 2016-07-18 10:55:02 +08:00
ShellEnvVar.h ShellPkg/ShellAddEnvVarToList: Handle memory allocation failure 2016-07-18 10:55:02 +08:00
ShellManParser.c ShellPkg: Support finding help message embedded in resource section. 2016-02-24 15:11:14 +08:00
ShellManParser.h udk2010.up2.shell initial release. 2010-09-14 05:18:09 +00:00
ShellParametersProtocol.c ShellPkg: Move FindFirstCharacter/GetNextParameter to ShellCommandLib 2016-07-20 10:27:51 +08:00
ShellParametersProtocol.h ShellPkg: Move FindFirstCharacter/GetNextParameter to ShellCommandLib 2016-07-20 10:27:51 +08:00
ShellProtocol.c ShellPkg: Fix a potential NULL pointer deference issue 2016-07-25 10:20:13 +08:00
ShellProtocol.h ShellPkg/ShellProtocol.c: Handle memory allocation failure 2016-07-18 10:55:05 +08:00