diff options
author | rowanbeentje <rowan@beent.je> | 2012-03-18 00:51:52 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2012-03-18 00:51:52 +0000 |
commit | f6de38fa5cc34461513670e52d5a9801ff8d8b32 (patch) | |
tree | 03112f12ba5dafcbcf0c61fc944737fcb82a3a08 /Source/SPDatabaseStructure.h | |
parent | 7d10648fdbe4378b3b478572184c6b81d67b454d (diff) | |
download | sequelpro-f6de38fa5cc34461513670e52d5a9801ff8d8b32.tar.gz sequelpro-f6de38fa5cc34461513670e52d5a9801ff8d8b32.tar.bz2 sequelpro-f6de38fa5cc34461513670e52d5a9801ff8d8b32.zip |
- Fix crashes caused by the database structure retrieval continuing briefly after the parent document was closed
Diffstat (limited to 'Source/SPDatabaseStructure.h')
-rw-r--r-- | Source/SPDatabaseStructure.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPDatabaseStructure.h b/Source/SPDatabaseStructure.h index 2b2d6977..52e43ec8 100644 --- a/Source/SPDatabaseStructure.h +++ b/Source/SPDatabaseStructure.h @@ -39,9 +39,10 @@ pthread_mutex_t connectionCheckLock; } -// Setup +// Setup and teardown - (id)initWithDelegate:(SPDatabaseDocument *)theDelegate; - (void)setConnectionToClone:(SPMySQLConnection *)aConnection; +- (void)destroy; // Information - (SPMySQLConnection *)connection; |