[FIX][3.7g] RestartTimerInterruptWatcher-nk

Ned Konz ned at squeakland.org
Mon Jul 12 20:13:21 UTC 2004


Please consider this for the 3.7g update stream.
Thanks!

from preamble:

"Change Set:		RestartTimerInterruptWatcher-nk
Date:			12 July 2004
Author:			Ned Konz

After the various class renames in the Chronology updates, there remains
a single (non-ChangeRecord) reference to the #ZTime->Time binding. This
is in the Delay class timerInterruptWatcher process, which never got
restarted properly after the class renames.

The result of this is that if you inadvertently try to save a project
containing a ChangeSorter it will fail.

This change set both clears out the ReadOnlyVariableBindings that have
problems, and restarts the timerInterruptWatcher with the new method."

( ReadOnlyVariableBinding allInstances
	select: [ :ea | ea value isBehavior
		and: [ (Smalltalk at: ea key ifAbsent: []) ~~ ea value 
			and: [ ea value isObsolete not ] ]])
		do: [ :b | [ b value: nil ]
				on: AttemptToWriteReadOnlyGlobal
				do: [ :ex | ex resume: true ]].

Delay shutDown; startTimerInterruptWatcher; startUp.!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RestartTimerInterruptWatcher-nk.cs.gz
Type: application/octet-stream
Size: 609 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040712/fae43610/RestartTimerInterruptWatcher-nk.cs.obj


More information about the Squeak-dev mailing list