1
0
Fork 0

messages: improve memory usage

Clear `layout` when going back from message to list
master
Richard de Boer 2022-07-27 20:04:11 +02:00
parent 489582ee91
commit b854e58a96
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -286,6 +286,7 @@ function showMessage(msgid) {
}
}
function goBack() {
layout = undefined;
msg.new = false; saveMessages(); // read mail
cancelReloadTimeout(); // don't auto-reload to clock now
checkMessages({clockIfNoMsg:1,clockIfAllRead:0,showMsgIfUnread:0,openMusic:openMusic});