mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-11 14:15:46 +08:00
fixed problem with opening client and server. in some cases it
would fail to open in such a way that it could never succeed but it'd never stop retrying. now terminating when open fails such that it'll never succeed.
This commit is contained in:
@@ -399,6 +399,7 @@ CMSWindowsPrimaryScreen::onPreOpen()
|
||||
// initialize hook library
|
||||
m_threadID = GetCurrentThreadId();
|
||||
if (m_init(m_threadID) == 0) {
|
||||
log((CLOG_ERR "cannot initialize hook library"));
|
||||
throw XScreenOpenFailure();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user