mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-09 05:13:36 +08:00
Add log for releasing quartz event tap
This commit is contained in:
@@ -758,6 +758,7 @@ OSXScreen::disable()
|
||||
// FIXME -- stop watching jump zones, stop capturing input
|
||||
|
||||
if (m_eventTapRLSR) {
|
||||
LOG((CLOG_DEBUG "releasing quartz event tap"));
|
||||
CFRunLoopRemoveSource(CFRunLoopGetCurrent(), m_eventTapRLSR, kCFRunLoopDefaultMode);
|
||||
CFRelease(m_eventTapRLSR);
|
||||
m_eventTapRLSR = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user