Merge commit '7621e2f8dec938cf48181c8b10afc9b01f444e68' into beta

This commit is contained in:
Ilya Laktyushin
2025-12-06 02:17:48 +04:00
commit 8344b97e03
28070 changed files with 7995182 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
//
// STPDispatchFunctions.m
// Stripe
//
// Created by Brian Dorfman on 10/24/16.
// Copyright © 2016 Stripe, Inc. All rights reserved.
//
#include "STPDispatchFunctions.h"
void stpDispatchToMainThreadIfNecessary(dispatch_block_t block) {
if ([NSThread isMainThread]) {
block();
}
else {
dispatch_async(dispatch_get_main_queue(), block);
}
}