Kodi – Windows PC shutdown



Hi all,

Wonder if anybody else experience this and have any suggestions for troubleshooting:

Basically I want to shutdown my machine when I’m done, I can issue shutdown from Power menu or remotely through Web interface, in 90% of cases Kodi just exits and PC keeps running, sometimes it really did shutdown. I also use CEC adapter so TV/AVR going down as they supposed to. Log just showing this:

Code:
2024-08-08 00:36:37.494 T:5696 debug <general>: CMMNotificationClient::OnDeviceStateChanged: New device state is DEVICE_STATE_UNPLUGGED
2024-08-08 00:36:38.386 T:7976 debug <general>: ------ Window Init (DialogBusy.xml) ------
2024-08-08 00:36:38.386 T:9804 debug <general>: PERIPHERALS::CPeripheralCecAdapter:Tonguerocess - CEC adapter processor thread ended
2024-08-08 00:36:38.386 T:9804 debug <general>: Thread CECAdapter 9804 terminating
2024-08-08 00:36:38.387 T:9812 debug <general>: Thread PeripEventScan 9812 terminating
2024-08-08 00:36:38.387 T:9752 debug <general>: Thread PeripBusUSB 9752 terminating
2024-08-08 00:36:38.387 T:7836 info <general>: Shutdown Windows...
2024-08-08 00:36:38.387 T:9756 debug <general>: Thread PeripBusCEC 9756 terminating
2024-08-08 00:36:38.887 T:9760 debug <general>: Thread PeripBusAddon 9760 terminating
2024-08-08 00:36:39.387 T:7976 info <general>: unload skin
2024-08-08 00:36:39.388 T:7976 debug <general>: FreeVisualisation() done
2024-08-08 00:36:39.408 T:7976 debug <general>: ------ Window Deinit (DialogBusy.xml) ------
2024-08-08 00:36:39.411 T:7976 debug <general>: ------ Window Deinit (MyVideoNav.xml) ------
2024-08-08 00:36:39.411 T:7976 debug <general>: FreeVisualisation() done
2024-08-08 00:36:39.429 T:7976 info <general>: Skipped 1 duplicate messages..
2024-08-08 00:36:39.429 T:7976 debug <general>: CTextureBundleXBT::CloseBundle - Closed bundle
2024-08-08 00:36:40.108 T:7976 info <general>: Unloaded skin
2024-08-08 00:36:40.108 T:7976 debug <general>: DX:Big GrineviceResources::ReleaseBackBuffer: release buffers.
2024-08-08 00:36:40.661 T:7976 info <general>: unload sections
2024-08-08 00:36:40.673 T:7836 debug <general>: Thread CWin32PowerStateWorker 7836 terminating
2024-08-08 00:36:40.674 T:10924 debug <general>: Thread Timer 10924 terminating
2024-08-08 00:36:40.676 T:7976 debug <general>: CWinSystemWin32::RestoreDesktopResolution: restoring desktop resolution for 'QCQ95S #1'.
2024-08-08 00:36:40.676 T:7744 debug <general>: Thread RemoteControl 7744 terminating
2024-08-08 00:36:40.693 T:8528 debug <general>: Thread Announce 8528 terminating
2024-08-08 00:36:40.693 T:7976 info <general>: Exiting the application...

Don’t have / don’t use any addons, just latest Kodi install.
As a follow up question: I would happily just keep Kodi in Suspended state, which works, but when I wake up machine by any means Kodi is just hanging, it was like this from day one many versions ago, so I just gave up and start doing Shutdown.

Thank you for any suggestions,
K.