We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6734907 commit b9a2d6cCopy full SHA for b9a2d6c
Source/SPDatabaseDocument.m
@@ -6534,8 +6534,11 @@ - (void)dealloc
6534
6535
if (processListController) [processListController close];
6536
6537
+ // #2924: The connection controller doesn't retain its delegate (us), but it may outlive us (e.g. when running a bg thread)
6538
+ [connectionController setDelegate:nil];
6539
+ SPClear(connectionController);
6540
+
6541
if (selectedTableName) SPClear(selectedTableName);
- if (connectionController) SPClear(connectionController);
6542
if (processListController) SPClear(processListController);
6543
if (serverVariablesController) SPClear(serverVariablesController);
6544
if (mySQLConnection) SPClear(mySQLConnection);
0 commit comments