diff --git a/pantomime-lib/Framework/Pantomime/Utils/CWThreadSafeData.m b/pantomime-lib/Framework/Pantomime/Utils/CWThreadSafeData.m index 946a3fa..3af3744 100644 --- a/pantomime-lib/Framework/Pantomime/Utils/CWThreadSafeData.m +++ b/pantomime-lib/Framework/Pantomime/Utils/CWThreadSafeData.m @@ -84,8 +84,7 @@ NS_ASSUME_NONNULL_BEGIN __weak typeof(self) weakSelf = self; dispatch_sync(self.queue, ^{ typeof(self) strongSelf = weakSelf; - NSData *copy = strongSelf.data.copy; - copyOfBytes = copy.bytes; + copyOfBytes = strongSelf.data.bytes; }); return copyOfBytes;