VirtualBox

Changeset 48790 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Oct 1, 2013 9:28:24 AM (11 years ago)
Author:
vboxsync
Message:

OS X host: leds sync: same RunLoop mode for IOKit and Carbon input events; add forgotten CFRelease() when checking kbd device compatibility.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/DarwinKeyboard.cpp

    r48789 r48790  
    14311431        if (pLoopSourceRef)
    14321432        {
    1433             CFRunLoopAddSource(CFRunLoopGetCurrent(), pLoopSourceRef, kCFRunLoopCommonModes);
     1433            CFRunLoopAddSource(CFRunLoopGetCurrent(), pLoopSourceRef, kCFRunLoopDefaultMode);
    14341434            CGEventTapEnable(pTapRef, true);
    14351435
     
    14601460
    14611461    CGEventTapEnable(pState->pTapRef, false);
    1462     CFRunLoopRemoveSource(CFRunLoopGetCurrent(), pState->pLoopSourceRef, kCFRunLoopCommonModes);
     1462    CFRunLoopRemoveSource(CFRunLoopGetCurrent(), pState->pLoopSourceRef, kCFRunLoopDefaultMode);
    14631463    CFRelease(pState->pLoopSourceRef);
    14641464}
     
    14921492            }
    14931493        }
     1494
     1495        CFRelease(pNumberRef);
    14941496    }
    14951497
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette