mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 05:49:53 +08:00
fix single instance guard on macOS
This commit is contained in:
parent
8c8640f4db
commit
9835e8bbb2
@ -38,8 +38,10 @@ bool VSingleInstanceGuard::tryRun()
|
||||
m_online = true;
|
||||
return true;
|
||||
} else {
|
||||
qDebug() << "fail to create shared memory segment";
|
||||
return false;
|
||||
qWarning() << "fail to create shared memory segment "
|
||||
"(keep in mind that do not run multiple instances of VNote)";
|
||||
// On macOS, this happens a lot. Just let it go.
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user