| Numéro d’ID de bogue |
BUG-000114021 |
| Envoi | May 16, 2018 |
| Dernière modification | June 5, 2024 |
| S’applique à | ArcGIS Runtime SDK |
| Version trouvée | 100.2.1 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 10.0 64 Bit |
| Statut | Known Limit
Après examen par l’équipe de développement, il a été déterminé que ce problème est lié à une limitation connue du logiciel sur laquelle Esri n’a aucun contrôle. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
The problem occurs when the raster dataset has been removed from the layer but the .NET garbage collection has not yet destroyed the raster object. To trigger the garbage collection in order to delete files, it may be necessary to call GC.Collect e.g.:
```
...
GC.Collect();
GC.WaitForPendingFinalizers();
GC.Collect();
try
{
if (File.Exists(tifFile))
{
File.Delete(tifFile);
}
}
catch (Exception e)
{
// TODO...
}
...
```
Étapes pour reproduire
ID de bogue: BUG-000114021
Logiciel: