Changes between Initial Version and Version 1 of Ticket #6911, comment 1
- Timestamp:
- Jun 3, 2017, 4:29:10 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6911, comment 1
initial v1 7 7 For ex : 8 8 9 ds = gdal.Open('bla.tif') 10 band = ds.GetRasterBand() 11 ds = Null 12 do garbage collection, ds could be finalized and the C++ dataset closed, but since band maintains a reference to ds, this won't happen. 9 {{{ 10 ds = gdal.Open('bla.tif'); 11 band = ds.GetRasterBand(); 12 ds = null; 13 do garbage collection 14 band.GetXXXX() 15 }}} 16 17 ds could be finalized at that point and the C++ dataset closed, but since band maintains a reference to ds, this won't happen. 13 18 14 19 This is actually the issue we have with the Python bindings.