Working on 0.8.0,

I’ve changed a few things about the way the service operates, which means you may see the icon in the list of running services when it’s been disabled in the preferences.

This is good: It’s in a paused state, waiting for the system to tell it to wake up. which it can do much more quickly than loading from flash.

It does release the memory when the system needs some. Then if the service is enabled again, it will create a new service instance from flash.

This is a better design than issuing a stopSelf;

Edit: Actually, stopSelf is fine, but I was leaving the service in a state that the system couldn’t recover it from if the instance is re-used. Figured it out and have it working perfectly now. Also, you won’t see the service in the list if it’s disabled.

Advertisements