Brightsign BrightScript 3.0 Reference Manual Uživatelský manuál Strana 29

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 75
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 74 75

Komentáře k této Příručce

Žádné komentáře