Skip to content

Commit 4baf35c

Browse files
committed
fix: 修复托盘退出
1 parent 96a3769 commit 4baf35c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/system_tray_rust.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,8 @@ namespace system_tray {
151151
BOOST_LOG(info) << "Quitting from system tray"sv;
152152
#ifdef _WIN32
153153
terminate_gui_processes();
154-
lifetime::exit_sunshine(ERROR_SHUTDOWN_IN_PROGRESS, true);
155-
#else
156-
lifetime::exit_sunshine(0, true);
157154
#endif
155+
lifetime::exit_sunshine(0, true);
158156
break;
159157

160158
default:

0 commit comments

Comments
 (0)