'From Squeak4.2alpha of 22 September 2010 [latest update: #10549] on 23 September 2010 at 8:41:16 pm'! MessageSend subclass: #ObjectFinalizer instanceVariableNames: '' classVariableNames: '' poolDictionaries: '' category: 'System-Finalization'! !ObjectFinalizer commentStamp: 'jcg 4/27/2010 01:01' prior: 0! Represents an action that is to be taken when a target object (not referenced by the ObjectFinalizer) is garbage-collected.! !ObjectFinalizer methodsFor: 'finalization' stamp: 'jcg 1/15/2010 01:37'! finalize "Finalize the resource associated with the receiver. This message should only be sent during the finalization process. There is NO garantuee that the resource associated with the receiver hasn't been free'd before so take care that you don't run into trouble - this all may happen with interrupt priority." [self value] on: Error do:[:ex| ex return]. ! ! !ObjectFinalizer methodsFor: 'initialize' stamp: 'jcg 1/15/2010 01:36'! receiver: anObject selector: aSymbol argument: aParameter "Not really necessary now that we're a subclass of MessageSend, but we keep it around because existing code might expect it." self receiver: anObject; selector: aSymbol; arguments: (Array with: aParameter).! !