Open jverkoey opened 7 years ago
CATransaction.begin() guard let token = tokenGenerator.generate() else { return }
If we fail to generate a token then we're left with an open CATransaction. We should attempt to acquire the token before initiating the transaction.
If we fail to generate a token then we're left with an open CATransaction. We should attempt to acquire the token before initiating the transaction.