From dc45c654aab99cbccecda192396dc8baefd5690e Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sun, 14 Oct 2012 16:09:45 +0000 Subject: - In the SPMySQL.framework, separate framework-triggered connections and disconnections from external actions, and use that separation to perform safer disconnects - When closing a database document, add a new notification, and use that to resolve retain cycles affecting connection processes - Improve connection controller disconnection when the document is closed, fixing crashes, by building on those two features (addresses Issue #1396) - Use some of the new functionality to improve SSH and MySQL connection cancellation, making both cancelable in the interface and making both respond much more quickly --- Source/SPDatabaseStructure.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/SPDatabaseStructure.h') diff --git a/Source/SPDatabaseStructure.h b/Source/SPDatabaseStructure.h index f382944a..57249c93 100644 --- a/Source/SPDatabaseStructure.h +++ b/Source/SPDatabaseStructure.h @@ -53,7 +53,7 @@ // Setup and teardown - (id)initWithDelegate:(SPDatabaseDocument *)theDelegate; - (void)setConnectionToClone:(SPMySQLConnection *)aConnection; -- (void)destroy; +- (void)destroy:(NSNotification *)notification; // Information - (SPMySQLConnection *)connection; -- cgit v1.2.3