Changeset 25207 in vbox for trunk/src/VBox
- Timestamp:
- Dec 7, 2009 10:04:38 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa_helper.m
r25189 r25207 1318 1318 [[win parentWindow] removeChildWindow: win]; 1319 1319 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]; 1322 1324 1323 1325 /* There seems to be a bug in the performSelector method which is called in … … 1326 1328 * decremented. */ 1327 1329 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]; 1330 1333 1331 1334 [pPool release];
Note:
See TracChangeset
for help on using the changeset viewer.