history.js icon indicating copy to clipboard operation
history.js copied to clipboard

History.pushState has memory leak

Open rotaercz opened this issue 10 years ago • 3 comments

There seems to be no limit how many times you can pushState and over time the browser will get slower and crash.

rotaercz avatar Jul 15 '15 21:07 rotaercz

screen shot 2016-01-21 at 12 57 47 pm 2

ZhangHanDong avatar Jan 21 '16 04:01 ZhangHanDong

The code above used HTML5 history API (history.pushState) but not History.js (History.pushState).

huzecong avatar Jan 21 '16 06:01 huzecong

@huzecong I know, the same effect.

ZhangHanDong avatar Jan 21 '16 06:01 ZhangHanDong