How is "Shutdown" implemented inside Kodi? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: How is "Shutdown" implemented inside Kodi? (/showthread.php?tid=359559) |
How is "Shutdown" implemented inside Kodi? - M-Reimer - 2021-01-03 I've tried but didn't find the right place in the sourcecode, so far. If I shut down Kodi from its own "Power" menu, does Kodi go through a "cleanup step" including saving configuration before actually triggering the system shutdown command? Or in other words: Can I be sure that all settings are already stored at the point where the actual shutdown is triggered? RE: How is "Shutdown" implemented inside Kodi? - ronie - 2021-01-03 sure it will save your settings before exiting the application. you can find the relevant code here: https://github.com/xbmc/xbmc/blob/2e1c0faf40395c71c94008eb8d35c822f333e69d/xbmc/Application.cpp#L2607-L2732 |