Opened 14 years ago
Closed 14 years ago
#4456 closed defect (fixed)
Minor fix for leaked object reported via sIEve
Reported by: | guest | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | Dijit | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I've been snooping with sIEve.
I found just loading the dijit base was reporting a leak on <body> and tracked it down to dijit/_base/focus.js
In registerWin if you null out the "body" variable before exiting the function sIEve stops complaining. I'm not sure if this is a genuine leak but it's one less thing.
if(body){ if(dojo.isIE){ ... }else{ ... } body = null; }
Note: See
TracTickets for help on using
tickets.
(In [10507]) Prevent memory leak. Fixes #4456.