client: fix closed tabs coming back from the dead in some cases

This commit is contained in:
mappu 2017-02-05 19:43:31 +13:00
parent 7b5dbde7a6
commit a60e4bb0c2

View File

@ -464,7 +464,8 @@ var tab_free = function(id) {
// clear from PM tabs // clear from PM tabs
for (var i in pm_tabs) { for (var i in pm_tabs) {
if (pm_tabs[i] === id) { if (pm_tabs[i] === id) {
pm_tabs[i] = false; // pm_tabs[i] = false;
delete(pm_tabs[i]);
} }
} }