From 53e5a3bf76fa808a42fd01a36c0b11e133316178 Mon Sep 17 00:00:00 2001 From: kangfenmao Date: Thu, 13 Feb 2025 16:10:46 +0800 Subject: [PATCH] fix: Reset MinApp onClose handler when closing the app --- src/renderer/src/components/MinApp/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer/src/components/MinApp/index.tsx b/src/renderer/src/components/MinApp/index.tsx index bc6c2c9c..5b66329c 100644 --- a/src/renderer/src/components/MinApp/index.tsx +++ b/src/renderer/src/components/MinApp/index.tsx @@ -257,5 +257,6 @@ export default class MinApp { TopView.hide('MinApp') store.dispatch(setMinappShow(false)) MinApp.app = null + MinApp.onClose = () => {} } }