diff options
author | wm4 <wm4@nowhere> | 2014-12-03 22:40:24 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-03 23:01:19 +0100 |
commit | 8fc3d7dc396c998075373321bbe256d2c490c956 (patch) | |
tree | 200a238072f8dd2b23d0c2c61e10c546edf73e82 /player/lua | |
parent | 19f9a7066ea3c5ca9c185e902465bd40bda4883c (diff) | |
download | mpv-8fc3d7dc396c998075373321bbe256d2c490c956.tar.bz2 mpv-8fc3d7dc396c998075373321bbe256d2c490c956.tar.xz |
lua: fully cleanup removed key bindings
This is basically cosmetic; it was leaking the old handler functions.
Diffstat (limited to 'player/lua')
-rw-r--r-- | player/lua/defaults.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/player/lua/defaults.lua b/player/lua/defaults.lua index 0608526d0e..be39da8f36 100644 --- a/player/lua/defaults.lua +++ b/player/lua/defaults.lua @@ -203,6 +203,7 @@ end function mp.remove_key_binding(name) key_bindings[name] = nil + dispatch_key_bindings[name] = nil update_key_bindings() mp.unregister_script_message(name) end |