mirror of
https://github.com/exyte/Macaw.git
synced 2024-09-11 13:15:35 +03:00
Dispose renderer when DrawingView is deinit.
This commit is contained in:
parent
2b406e55f2
commit
a64088b64b
@ -671,6 +671,12 @@ internal class DrawingView: MView {
|
||||
recognizersMap.removeValue(forKey: recognizer)
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - Cleanup
|
||||
|
||||
deinit {
|
||||
renderer?.dispose()
|
||||
}
|
||||
}
|
||||
|
||||
class LayoutHelper {
|
||||
|
Loading…
Reference in New Issue
Block a user