mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-19 19:53:25 +01:00
Fixes RefreshGroup strong reference cycle
This commit is contained in:
@@ -46,8 +46,8 @@ class RefreshGroup: NSObject
|
|||||||
|
|
||||||
if self.operations.isEmpty && !operations.isEmpty
|
if self.operations.isEmpty && !operations.isEmpty
|
||||||
{
|
{
|
||||||
self.dispatchGroup.notify(queue: .global()) {
|
self.dispatchGroup.notify(queue: .global()) { [weak self] in
|
||||||
self.finish()
|
self?.finish()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user