top | item 33995131

(no title)

keanebean86 | 3 years ago

Years ago I used this on my web application to work around a bug/leak. There was an auto update feature that ran on a regular basis. I made a mistake somewhere when replacing page elements that slowly increased memory usage. While developing I would close everything at the end of the day but my users would leave the page up for days. Eventually the small leak would crash the tab.

I "fixed" it by shutting off auto update on page blur then immediately doing an update on focus.

discuss

order

No comments yet.