Opened 11 years ago

Closed 11 years ago

#6828 closed defect (fixed)

Calendar: Memory leak for typematic

Reported by: guest Owned by: bill
Priority: high Milestone: 1.2
Component: Dijit Version: 1.1.1
Keywords: Cc:
Blocked By: Blocking:

Description

We have typematic connection that isn't disconnected when the widget is destroyed.

solution : Add typematic connects to _this._connects :

replace : dijit.typematic.addMouseListener(...)

by : _this._connects.push( dijit.typematic.addMouseListener(...))

Change History (3)

comment:1 Changed 11 years ago by bill

Owner: set to bill
Summary: Memory leak on dijit._CalendarCalendar: Memory leak for typematic

comment:2 Changed 11 years ago by bill

Just curious.... since the connected node is being destroyed, what's the leak, exactly?

comment:3 Changed 11 years ago by bill

Resolution: fixed
Status: newclosed

(In [13799]) Fixes #6828: Calendar: Memory leak for typematic Perhaps addMouseListener etc. should be methods on _Widget to avoid the cut/pasted code. !strict

Note: See TracTickets for help on using tickets.