From 8ffd882d6e8b2fed666b5dafa80079bd07ded8bf Mon Sep 17 00:00:00 2001 From: zinface Date: Tue, 19 Dec 2023 22:23:26 +0800 Subject: [PATCH] =?UTF-8?q?fix-linux-shared:=20=E8=A1=A5=E5=85=85=E5=B4=A9?= =?UTF-8?q?=E6=BA=83=E5=9C=BA=E6=99=AF=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index a7c04c4..163d68e 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -220,8 +220,9 @@ if ((arguments.size() == 4) && (arguments[2] == QString("-n"))) } #endif - // 在 linux / unix 中程序异常结束共享内存不会回收 - // 参考 https://gitee.com/zinface/infomation-tips/blob/master/src/main.cpp + // 此部分一般由插件异常导致程序崩溃引发 + // 在 linux / unix 中程序异常结束共享内存不会回收 + // 参考 https://gitee.com/zinface/infomation-tips/blob/master/src/main.cpp shared.attach(); shared.detach();