diff options
author | Max <post@wickenrode.com> | 2016-07-21 22:20:17 +0200 |
---|---|---|
committer | Max <post@wickenrode.com> | 2016-07-21 22:20:17 +0200 |
commit | 25e19bf6eb4a33213de7b4fdfbcae382dd359913 (patch) | |
tree | ee2f8a091dc3284defe23a73f9dee9ea7e93eea1 /Frameworks/SPMySQLFramework | |
parent | d1321478bd7334437a853bca3c5202000de1a2d5 (diff) | |
download | sequelpro-25e19bf6eb4a33213de7b4fdfbcae382dd359913.tar.gz sequelpro-25e19bf6eb4a33213de7b4fdfbcae382dd359913.tar.bz2 sequelpro-25e19bf6eb4a33213de7b4fdfbcae382dd359913.zip |
Fix one erroneous method call
Not sure if that may has been causing issues for some users...
Diffstat (limited to 'Frameworks/SPMySQLFramework')
-rw-r--r-- | Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m index 286296af..399fc8bb 100644 --- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m +++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m @@ -767,7 +767,7 @@ static uint64_t _elapsedMicroSecondsSinceAbsoluteTime(uint64_t comparisonTime) // Process events for a short time, allowing dialogs to be shown but waiting for // the proxy. Capture how long this interface action took, standardising the // overall time. - [[NSRunLoop mainRunLoop] runMode:NSModalPanelRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.25]]; + [[NSRunLoop currentRunLoop] runMode:NSModalPanelRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.25]]; if (_elapsedSecondsSinceAbsoluteTime(loopIterationStart_t) < 0.25) { usleep((useconds_t)(250000 - (1000000 * _elapsedSecondsSinceAbsoluteTime(loopIterationStart_t)))); } |