diff options
author | Dandan Bi <dandan.bi@intel.com> | 2018-09-09 22:29:56 +0800 |
---|---|---|
committer | Eric Dong <eric.dong@intel.com> | 2018-09-14 10:18:31 +0800 |
commit | f92b8ee3b7a621d0db8708ec05ee13639436b4a9 (patch) | |
tree | c600a6ef8c2a847bb1366579ecb30acf4a909275 /BaseTools/Source/Python/Common/Misc.py | |
parent | 9c8e9e76bd06014e430ecfa6c8f8e21374005a29 (diff) | |
download | edk2-f92b8ee3b7a621d0db8708ec05ee13639436b4a9.tar.gz edk2-f92b8ee3b7a621d0db8708ec05ee13639436b4a9.tar.bz2 edk2-f92b8ee3b7a621d0db8708ec05ee13639436b4a9.zip |
IntelFrameworkModulePkg: Avoid key notification called more than once
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=996
Issue:
In current code logic, when a key is pressed, it will search
the whole NotifyList to find whether a notification has been
registered with the keystroke. if yes, it will en-queue the
key for notification execution later. And now if different
notification functions have been registered with the same key,
then the key will be en-queued more than once. Then it will
cause the notification executed more than once.
This patch is to enhance the code logic to fix this issue.
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/Misc.py')
0 files changed, 0 insertions, 0 deletions