Skip to content

Commit d84a5ce

Browse files
committed
Dismiss dialog on main thread instead of background thread
1 parent 8a76e9d commit d84a5ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/App/Classes/IRC/IRCConnection.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -491,9 +491,9 @@ - (void)ircConnectionDidDisconnectWithError:(nullable NSError *)disconnectError
491491

492492
- (void)_ircConnectionDidDisconnectWithError:(nullable NSError *)disconnectError
493493
{
494-
[self closeInsecureCertificateTrustPanel];
495-
496494
XRPerformBlockSynchronouslyOnMainQueue(^{
495+
[self closeInsecureCertificateTrustPanel];
496+
497497
[self.client ircConnection:self didDisconnectWithError:disconnectError];
498498
});
499499
}

0 commit comments

Comments
 (0)