Hey Vince!
Yes it's me. Hope you're well.
Those meetings were fun. Shame they petered out, though I now live much
further away so I wouldn't be attending anymore.
Yep - that lazy eval looks very similar to my code.
I think that in general operation, my application would not normally have a
proble
Jeff,
You could have a look at SmalltalkImage>>#addToShutDownList: and
SmalltalkImage>>#addToStartUpList: to stop/(re)start the connection when
image is closed or a snapshot is taken. Add a method #startUp: to handle
reconnecting. See for example Clipboard>>#startUp:
Cheers,
Erik
--
Sent from
Hi Jeff
Is this you from Brisbane? Did you used to come to the meetups at the State
Library?
Well anyway, I used to do something similar to what you describe, by lazy
initializing the connection and also checking to see if it is open.
dbConnection
dbConnection ifNil: [ dbConenction :=