Bug #7407
closedsetDeferredToolTip causes browser side memory leak
0%
Description
Hello,
using setDeferredToolTip causes a memory leak on browser side with Wt 3.5.0.
This can be reproduced quite easily with the attached source (a modified Wt example).
It uses a WTableView, where the delegate for a table cell calls setDeferredToolTip.
If you run the program and move the slider of the vertical scrollbar rapidly up and down,
you can watch the browser memory increasing quite fast e.g. in Windows task-manager.
The memory is not freeĆd, if you manually trigger browser garbage collection within the development tools.
I have tested this with Chrome and Firefox.
Kind Regards
Files
Updated by Roel Standaert almost 5 years ago
- Status changed from New to Resolved
Looks like this is because we were connecting mouseenter
, mousemove
, and mouseleave
using jQuery, which made jQuery.cache grow. I pushed a fix.
Updated by Roel Standaert almost 5 years ago
- Status changed from Resolved to Closed