Fix memory leak on buttons mapping in textScreen()

This commit is contained in:
Tissevert 2018-12-14 23:34:13 +01:00
parent bdf11a96ca
commit b9d8dba0a3
1 changed files with 1 additions and 0 deletions

View File

@ -150,6 +150,7 @@ function UI(async, buttons, dom, screen, session) {
buttons.push({
'A': function() {
if(ready) {
close('text');
f();
} else {
remote.pause();