Revision 44669 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/feature/impl/featureset/DefaultFeatureSet.java
DefaultFeatureSet.java | ||
---|---|---|
272 | 272 |
} |
273 | 273 |
|
274 | 274 |
public void dispose() { |
275 |
this.store.deleteObserver(this); |
|
276 |
this.provider.dispose(); |
|
277 |
this.provider = null; |
|
278 |
|
|
279 |
this.featureToIgnoreNotification = null; |
|
275 |
if( this.store!=null ) { |
|
276 |
this.store.deleteObserver(this); |
|
277 |
this.store = null; |
|
278 |
} |
|
279 |
if( this.provider!=null ) { |
|
280 |
this.provider.dispose(); |
|
281 |
this.provider = null; |
|
282 |
} |
|
280 | 283 |
if (orderedData != null) { |
281 | 284 |
orderedData.clear(); |
285 |
this.orderedData = null; |
|
282 | 286 |
} |
283 |
this.orderedData = null; |
|
284 |
this.store = null; |
|
287 |
this.featureToIgnoreNotification = null; |
|
285 | 288 |
this.transform = null; |
286 | 289 |
this.query = null; |
287 | 290 |
this.queryForProvider = null; |
Also available in: Unified diff