Browse Source

Finalize is all gone, since GC is all gone.

August Mueller 9 years ago
parent
commit
9773a32d39
2 changed files with 0 additions and 15 deletions
  1. 0 10
      src/fmdb/FMDatabase.m
  2. 0 5
      src/fmdb/FMResultSet.m

+ 0 - 10
src/fmdb/FMDatabase.m

@@ -50,10 +50,6 @@ - (instancetype)initWithPath:(NSString*)aPath {
     return self;
     return self;
 }
 }
 
 
-- (void)finalize {
-    [self close];
-    [super finalize];
-}
 
 
 - (void)dealloc {
 - (void)dealloc {
     [self close];
     [self close];
@@ -1295,12 +1291,6 @@ - (void)makeFunctionNamed:(NSString*)name maximumArguments:(int)count withBlock:
 
 
 @implementation FMStatement
 @implementation FMStatement
 
 
-#pragma message "FIXME: kill all the finalizes"
-- (void)finalize {
-    [self close];
-    [super finalize];
-}
-
 - (void)dealloc {
 - (void)dealloc {
     [self close];
     [self close];
     FMDBRelease(_query);
     FMDBRelease(_query);

+ 0 - 5
src/fmdb/FMResultSet.m

@@ -30,11 +30,6 @@ + (instancetype)resultSetWithStatement:(FMStatement *)statement usingParentDatab
     return FMDBReturnAutoreleased(rs);
     return FMDBReturnAutoreleased(rs);
 }
 }
 
 
-- (void)finalize {
-    [self close];
-    [super finalize];
-}
-
 - (void)dealloc {
 - (void)dealloc {
     [self close];
     [self close];