Merge remote-tracking branch 'origin/master'

This commit is contained in:
Yukino Song
2025-01-14 23:43:50 +08:00
91 changed files with 6764 additions and 2374 deletions

View File

@@ -21,6 +21,7 @@ extern "C" {
#include "config.h"
#include "crypto.h"
#include "display_device.h"
#include "globals.h"
#include "input.h"
#include "logging.h"
@@ -2077,11 +2078,15 @@ namespace stream {
// If this is the last session, invoke the platform callbacks
if (--running_sessions == 0) {
#if defined SUNSHINE_TRAY && SUNSHINE_TRAY >= 1
if (proc::proc.running()) {
#if defined SUNSHINE_TRAY && SUNSHINE_TRAY >= 1
system_tray::update_tray_pausing(proc::proc.get_last_run_app_name());
}
#endif
}
else {
display_device::revert_configuration();
}
platf::streaming_will_stop();
}