]> git.wincent.com - WOTest.git/blobdiff - Tests/WOMultithreadedCrashTests.m
Code clean-up for garbage collection
[WOTest.git] / Tests / WOMultithreadedCrashTests.m
index c3483b722fa6df0c234386ec10c43f03a3930540..e61e3d554dda7493936d2404e23a532bcdf6aa58 100644 (file)
@@ -52,7 +52,7 @@
     id *object = NULL;                                          // cause a crash, but WOTest should keep running
     *object = @"foo";                                           // SIGBUS here
     WO_TEST_FAIL;                                               // this line never reached
-    [pool release];                                             // nor this one, but pools are in a stack no problem
+    [pool drain];                                               // nor this one, but pools are in a stack no problem
 }
 
 #pragma mark -