diff options
author | ConfuSomu | 2021-08-11 19:01:10 -0400 |
---|---|---|
committer | ConfuSomu | 2021-08-11 19:09:59 -0400 |
commit | 798241865d77c11e3f485a152853607759880163 (patch) | |
tree | a3c7e307cd78443d8539e6d3b509c47c26ec5997 /init.c | |
parent | d42b7faba24cdb14c556762200d586093570b2e5 (diff) | |
download | pico-watch-798241865d77c11e3f485a152853607759880163.tar pico-watch-798241865d77c11e3f485a152853607759880163.tar.gz pico-watch-798241865d77c11e3f485a152853607759880163.zip |
Allow apps to close and quit themselves via return
value when returning from render(), btnpressed() or bgrefresh().
This can help free system ressources when apps do not need to be running
anymore. The AppAttributes::destroy_on_exit is currently ignored to give
apps more freedom.
The main_clock app has had some changes done to test the new features.
Diffstat (limited to 'init.c')