Add log for releasing quartz event tap
This commit is contained in:
parent
adcb1b9b1f
commit
d770160e00
|
@ -758,6 +758,7 @@ OSXScreen::disable()
|
||||||
// FIXME -- stop watching jump zones, stop capturing input
|
// FIXME -- stop watching jump zones, stop capturing input
|
||||||
|
|
||||||
if (m_eventTapRLSR) {
|
if (m_eventTapRLSR) {
|
||||||
|
LOG((CLOG_DEBUG "releasing quartz event tap"));
|
||||||
CFRunLoopRemoveSource(CFRunLoopGetCurrent(), m_eventTapRLSR, kCFRunLoopDefaultMode);
|
CFRunLoopRemoveSource(CFRunLoopGetCurrent(), m_eventTapRLSR, kCFRunLoopDefaultMode);
|
||||||
CFRelease(m_eventTapRLSR);
|
CFRelease(m_eventTapRLSR);
|
||||||
m_eventTapRLSR = nullptr;
|
m_eventTapRLSR = nullptr;
|
||||||
|
|
Loading…
Reference in New Issue