mirror of
https://github.com/exyte/Macaw.git
synced 2024-09-11 05:05:23 +03:00
Merge pull request #717 from AntonPoltoratskyi/bugfix/node-renderer-retain-cycles
Fixed retain cycle between GroupRenderer and `parentRenderer`
This commit is contained in:
commit
3395183dfe
@ -29,7 +29,7 @@ class NodeRenderer {
|
|||||||
var layer: CachedLayer?
|
var layer: CachedLayer?
|
||||||
var zPosition: Int = 0
|
var zPosition: Int = 0
|
||||||
|
|
||||||
let parentRenderer: GroupRenderer?
|
private(set) weak var parentRenderer: GroupRenderer?
|
||||||
|
|
||||||
fileprivate let onNodeChange: () -> Void
|
fileprivate let onNodeChange: () -> Void
|
||||||
fileprivate let disposables = GroupDisposable()
|
fileprivate let disposables = GroupDisposable()
|
||||||
|
Loading…
Reference in New Issue
Block a user