> On 30 May 2016, at 5:49 , Henrik Johansen <henrik.s.johan...@veloxit.no> > wrote: >>> >>> PS: The other part is that >>#newCounter doesn't seem to be ever executed. >>> On first load >>#initialize will call >>#reset and on >>#shutDown: calls >>> reset. So the code to "randomize" the initial counter doesn't seem to work. > > What? > OID class >> #initialize adds the class to the shutdown list, so it *should* > call shutDown: whenever the image is saved&quit. > newCounter should then be called on first request after startup, since > machineIdentifier is set to nil by reset.
/doh, I see it now. reset should do counter := nil, not counter := LargePositiveInteger new: 3 . PEBKAC when rewriting the old counter := 0 reset code, I'm afraid :/ Cheers, Henry
signature.asc
Description: Message signed with OpenPGP using GPGMail