commit 2b698c97627909800af6b7d75cfeea1337d92b30
parent eef5ba8df6ab3448a790dfd66981f0956774375d
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sun, 20 Mar 2022 20:48:38 +0100
parent eef5ba8df6ab3448a790dfd66981f0956774375d
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sun, 20 Mar 2022 20:48:38 +0100
pkgs/XPCEventStreamHandler: disable debug output
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkgs/XPCEventStreamHandler/xpc_set_event_stream_handler.m b/pkgs/XPCEventStreamHandler/xpc_set_event_stream_handler.m @@ -14,7 +14,7 @@ int main(int argc, const char * argv[]) { dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); xpc_set_event_stream_handler("com.apple.iokit.matching", NULL, ^(xpc_object_t _Nonnull object) { const char *event = xpc_dictionary_get_string(object, XPC_EVENT_KEY_NAME); - NSLog(@"%s", event); + /* NSLog(@"%s", event); */ dispatch_semaphore_signal(semaphore); }); dispatch_semaphore_wait(semaphore, DISPATCH_TIME_FOREVER);