Service Destructor behavior (KeepAlive inside objs)
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.
This is a migrated post! Originally posted on 17.03.2022 by user Oleksandr. Please be aware that information can be outdated.