Skip to content

Commit f278d9b

Browse files
committed
Another attempt at the 0x338 crash (#2258)
1 parent 7364a3b commit f278d9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,8 @@ - (BOOL)_connect
465465
// If the connection was cancelled, clean up and don't continue
466466
if (userTriggeredDisconnect) {
467467
mysql_close(mySQLConnection);
468-
[self _unlockConnection];
469468
mySQLConnection = NULL;
469+
[self _unlockConnection];
470470
return NO;
471471
}
472472

0 commit comments

Comments
 (0)