From 1e68c315d7511c57ad4ff3a25841bc1abf0f7fc3 Mon Sep 17 00:00:00 2001 From: Andres Moran Date: Sun, 26 Jul 2026 19:06:43 -0400 Subject: [PATCH] fix(discord): stop RPC during app shutdown RetipApp starts Discord RPC during setup but did not stop it from OnShutdown, leaving the worker alive until process teardown. Stop it before the existing wallpaper cleanup so Discord finishes before the rest of the app shuts down. --- src/retip_app.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/retip_app.h b/src/retip_app.h index bcc7e40..ebe0a91 100644 --- a/src/retip_app.h +++ b/src/retip_app.h @@ -114,6 +114,7 @@ class RetipApp : public rex::ReXApp { } void OnShutdown() override { + rex::discord_rpc::Stop(); if (launch_dialog_) launch_dialog_->ReleaseWallpaper(); }