Opened 12 years ago

Closed 12 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;
}

Change History (1)

comment:1 Changed 12 years ago by bill

Resolution: fixed
Status: newclosed

(In [10507]) Prevent memory leak. Fixes #4456.

Note: See TracTickets for help on using tickets.