[Seaside] Zinc adaptor zombie

Esteban Lorenzano estebanlm at gmail.com
Sun Jul 1 08:38:07 UTC 2012


Hi, 

look at this code: 

ZnZincServerAdaptor>>#server
	"Return the ZnServer running me, create a default one if missing"
	
	^ server ifNil: [ server := self defaultZnServer ].


...and...

ZnZincServerAdaptor>>#startUp
	self server isNil
		ifFalse: [ self server start ]

so... this will stay alive for ever... even if you try to kill him with a shotgun (and yes... is a brain eater) :)

Esteban



More information about the seaside mailing list