VirtualBox

Changeset 25207 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 7, 2009 10:04:38 AM (15 years ago)
Author:
vboxsync
Message:

crOpenGL-OSX: fix view destruction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa_helper.m

    r25189 r25207  
    13181318    [[win parentWindow] removeChildWindow: win];
    13191319    int b = [win retainCount];
    1320     for (; b > 1; --b)
    1321         [win release];
     1320//    for (; b > 1; --b)
     1321//        [win performSelector:@selector(release)]
     1322    [win performSelectorOnMainThread:@selector(release) withObject:nil waitUntilDone:NO];
     1323//        [win release];
    13221324
    13231325    /* There seems to be a bug in the performSelector method which is called in
     
    13261328     * decremented. */
    13271329    int a = [pView retainCount];
    1328     for (; a > 1; --a)
    1329         [pView release];
     1330//    for (; a > 1; --a)
     1331    [pView performSelectorOnMainThread:@selector(release) withObject:nil waitUntilDone:NO];
     1332//        [pView release];
    13301333
    13311334    [pPool release];
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