- Code: Select all
myBrowser.LifespanHandler = new LifespanHandler();
Everything works exactly how I've expected it to work, but when it comes to disposing, it seems that LifespanHandler doesn't dispose when I leave my Page and so every time I enter this Page and then leave memory usage becomes bigger. I assume LifespanHandler is the cause of the problem because if I comment out this line
- Code: Select all
myBrowser.LifespanHandler = new LifespanHandler();
Everything works fine.
I suppose RequestHandler has the same problem
Thanks in advance