Brightsign BrightScript 3.0 Reference Manual Manuel d'utilisateur Page 29

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 75
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 28
24
GARBAGE COLLECTION
BrightScript automatically frees strings when they are no longer used, and it will free objects when their reference count
goes to zero. This is carried out at the time the object or string is no longer used; there is no background garbage
collection task. The result is a predictable garbage-collection process, with no unexpected stalls in execution.
Objects may enter a state of circular reference counting: Objects that reference each other will never reach a reference
count of zero and will need to be freed manually using the RunGarbageCollector() method. This method is useful
when destroying old presentation data structures and creating a new presentation.
Vue de la page 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 74 75

Commentaires sur ces manuels

Pas de commentaire