From 7646dc4c0b14cac4757fcfd772b95c0f16cd3600 Mon Sep 17 00:00:00 2001 Message-Id: <7646dc4c0b14cac4757fcfd772b95c0f16cd3600.1715486241.git.mdw@distorted.org.uk> From: Mark Wooding Date: Wed, 2 Aug 2017 10:50:40 +0100 Subject: [PATCH] doc/concepts.tex: Fix copy-and-paste fail in `Destruction' section. Organization: Straylight/Edgeware From: Mark Wooding --- doc/concepts.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/concepts.tex b/doc/concepts.tex index 7702f13..759153b 100644 --- a/doc/concepts.tex +++ b/doc/concepts.tex @@ -840,9 +840,9 @@ allocated from the standard @|malloc| heap is done using the \descref{sod_destroy}[function]{fun}. \subsubsection{Teardown} -Details of initialization are necessarily class-specific, but typically it -involves setting the instance's slots to appropriate values, and possibly -linking it into some larger data structure to keep track of it. +Details of teardown are necessarily class-specific, but typically it +involves releasing resources held by the instance, and disentangling it from +any data structures it might be linked into. Teardown is performed by sending the instance the @|teardown| message, defined by the @|SodObject| class. The message returns an integer, used as a -- [mdw]