Skip to content

Commit

Permalink
Fix crash introduced in emscripten-core#22874 (emscripten-core#22884)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbc100 authored and uysalibov committed Nov 15, 2024
1 parent 7f75819 commit 52e173c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library_sdl.js
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ var LibrarySDL = {
receiveEvent(event) {
function unpressAllPressedKeys() {
// Un-press all pressed keys: TODO
for (var keyCode of SDL.keyboardMap) {
for (var keyCode of Object.values(SDL.keyboardMap)) {
SDL.events.push({
type: 'keyup',
keyCode,
Expand Down

0 comments on commit 52e173c

Please sign in to comment.