Brightsign BrightScript 3.0 Reference Manual Manual do Utilizador Página 29

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 75
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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.
Vista de página 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 74 75

Comentários a estes Manuais

Sem comentários