On 08.10.2012 13:03, Henrik Sperre Johansen wrote:
IMO, lazily checking whether the image has been restarted whenever you want to do something stinks.Registering to be notified when image starts/stops is a lot better.
Not to mention, less error-prone.Miss one session check that the current session is the right one somewhere... and everything might blow up if that is the first piece of functionality used.
Cheers, Henry
