lotus



previous page: 2.2) When do I have to lock a Handle? (Memory - Mac Programming)
  
page up: Mac Programming FAQ
  
next page: 2.4) What about resources? (Memory - Mac Programming)

2.3) How do I dispose of Handles? (Memory - Mac Programming)




Description

This article is from the Mac Programming FAQ, by Jon Watte h+@austin.metrowerks.com with numerous contributions by others.

2.3) How do I dispose of Handles? (Memory - Mac Programming)

DisposeHandle (formerly called DisposHandle) once and ONLY once will
do the trick. Trying to dispose of an already disposed Handle is an
error. DoubleTrouble (see above) will catch such bugs when they do
occur.

 

Continue to:















TOP
previous page: 2.2) When do I have to lock a Handle? (Memory - Mac Programming)
  
page up: Mac Programming FAQ
  
next page: 2.4) What about resources? (Memory - Mac Programming)