mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
Reactions menu: Patch RoomContextualMenuPresenter while we have a retain cycle
This commit is contained in:
@@ -88,6 +88,10 @@ final class RoomContextualMenuPresenter: NSObject {
|
||||
|
||||
let animationCompletionInstructions: (() -> Void) = {
|
||||
roomContextualMenuViewController.vc_removeFromParent()
|
||||
|
||||
// TODO: To remove once the retain cycle caused by reactionsMenuViewModel is fixed
|
||||
self.roomContextualMenuViewController = nil
|
||||
|
||||
completion?()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user