I have service, what is started when screen is opened. Inside of the service I have created few classes. Sometimes, when I operate on that screen, destructor of that service is called.
How to prevent that behavior? Purpose is to save state of that inside objects till Stop() method will be called.