summaryrefslogtreecommitdiff
path: root/js/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2016-01-11 01:11:26 +0300
committerAndrew Dolgov <[email protected]>2016-01-11 01:11:26 +0300
commit0b41bd3414ba9fcb9ea697da7ab8a4369c32bc95 (patch)
treea72ca93b8e36a12e18e3ee7a5454d3de22978b41 /js/viewfeed.js
parent5bdcb8fd7834964d69550a788d9c666c14964f21 (diff)
add some hacks to hopefully mitigate headlines memory leaks
Diffstat (limited to 'js/viewfeed.js')
-rwxr-xr-xjs/viewfeed.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js
index 3b647e080..181a932e0 100755
--- a/js/viewfeed.js
+++ b/js/viewfeed.js
@@ -244,6 +244,8 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
function render_article(article) {
try {
+ cleanup_memory("content-insert");
+
dijit.byId("headlines-wrap-inner").addChild(
dijit.byId("content-insert"));