From d770160e005499247e053e8607a013deaeef77aa Mon Sep 17 00:00:00 2001 From: Xinyu Hou Date: Wed, 13 Dec 2017 10:59:41 -0500 Subject: [PATCH] Add log for releasing quartz event tap --- src/lib/platform/OSXScreen.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/platform/OSXScreen.mm b/src/lib/platform/OSXScreen.mm index 864671c9..43fe7615 100644 --- a/src/lib/platform/OSXScreen.mm +++ b/src/lib/platform/OSXScreen.mm @@ -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;