Handbook Glossary
factorcode.org
register-disposable ( obj -- )


Vocabulary
destructors.private

Inputs
objan object


Outputs
None

Definition
USING: accessors continuations destructors kernel namespaces
sets ;

IN: destructors.private

: register-disposable ( obj -- )
debug-leaks? get-global
[ current-continuation >>continuation ] when
disposables get adjoin ;