Lifetime of protected varaible

In reply to Alex K.:

I think you should try running the code and see what happens.