|
Re: saving image automatically: msg#00163lang.smalltalk.squeak.beginners
Hi Norbert, I hope the following code will make clear this "strange" behaviour. | i delay | i := 0. delay := Delay forMilliseconds: 1000. Transcript clear. 10 timesRepeat: [Transcript cr; show: (i := i + 1). delay wait]. SmalltalkImage current snapshot: true andQuit: true. 10 timesRepeat: [Transcript cr; show: (i := i + 1). delay wait]. you see this "strange" behaviour because all threads are suspending when you are closing your image and resuming when you're opening it again. When you're opening your "deploy" image the last line of code in MySetup>>deploy method is executing and image is closing again. I hope it'll help you. George. Hi,
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | saving image automatically, Norbert Hartl |
|---|---|
| Next by Date: | Re: saving image automatically, Norbert Hartl |
| Previous by Thread: | saving image automatically, Norbert Hartl |
| Next by Thread: | Re: saving image automatically, Norbert Hartl |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |