X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/e9be9d868bddf4638c3d055e9f86022f3982ce25..fa7e2d7221f22a9e706c2f983422a545d9d06a68:/doc/concepts.tex diff --git a/doc/concepts.tex b/doc/concepts.tex index 0f4b336..9cc5be7 100644 --- a/doc/concepts.tex +++ b/doc/concepts.tex @@ -960,12 +960,12 @@ counting system, as follows. \} \end{prog} -This message uses a nonstandard method combination which works like the -standard combination, except that the \emph{default behaviour}, if there is -no overriding method, is to execute the superclass's teardown fragments, and -to return zero. This default behaviour may be invoked multiple times if some -method calls on its @|next_method| more than once, unless some other method -takes steps to prevent this. +The @|teardown| message uses a nonstandard method combination which works +like the standard combination, except that the \emph{default behaviour}, if +there is no overriding method, is to execute the superclass's teardown +fragments, and to return zero. This default behaviour may be invoked +multiple times if some method calls on its @|next_method| more than once, +unless some other method takes steps to prevent this. A class can define \emph{teardown fragments}: pieces of literal code to be executed to shut down an instance. Each superclass's teardown fragments are