mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +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;
|
m_online = true;
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
qDebug() << "fail to create shared memory segment";
|
qWarning() << "fail to create shared memory segment "
|
||||||
return false;
|
"(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