Merge remote-tracking branch 'refs/remotes/origin/master'

This commit is contained in:
rfm 2025-01-10 17:18:29 +00:00
commit 506710cb72

View file

@ -116,17 +116,20 @@ static NSMutableDictionary *__subscribers = nil;
- (void) dealloc
{
RELEASE(internal->_fileOperationKind);
RELEASE(internal->_kind);
RELEASE(internal->_estimatedTimeRemaining);
RELEASE(internal->_fileCompletedCount);
RELEASE(internal->_fileTotalCount);
RELEASE(internal->_throughput);
RELEASE(internal->_userInfo);
RELEASE(internal->_localizedDescription);
RELEASE(internal->_localizedAdditionalDescription);
[super dealloc];
if (GS_EXISTS_INTERNAL)
{
RELEASE(internal->_fileOperationKind);
RELEASE(internal->_kind);
RELEASE(internal->_estimatedTimeRemaining);
RELEASE(internal->_fileCompletedCount);
RELEASE(internal->_fileTotalCount);
RELEASE(internal->_throughput);
RELEASE(internal->_userInfo);
RELEASE(internal->_localizedDescription);
RELEASE(internal->_localizedAdditionalDescription);
GS_DESTROY_INTERNAL(NSProgress);
}
DEALLOC
}
+ (NSProgress *) discreteProgressWithTotalUnitCount: (int64_t)unitCount