This article is from the Mac Programming FAQ, by Jon Watte email@example.com with numerous contributions by others.
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