mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1040230 - Check array length to bail out earlier before creating the deleted info. r=vyang
This commit is contained in:
parent
64b21ec330
commit
e19f429a94
@ -2547,7 +2547,8 @@ MobileMessageDB.prototype = {
|
||||
},
|
||||
|
||||
notifyDeletedInfo: function(info) {
|
||||
if (!info) {
|
||||
if (!info ||
|
||||
(info.messageIds.length === 0 && info.threadIds.length === 0)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user