Add log for releasing quartz event tap

This commit is contained in:
Xinyu Hou 2017-12-13 10:59:41 -05:00
parent adcb1b9b1f
commit d770160e00
1 changed files with 1 additions and 0 deletions

View File

@ -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;