зеркало из https://github.com/github/Rebel.git
Use weak storage for the event monitor object.
This commit is contained in:
Родитель
3636e4aae6
Коммит
b54a602eba
|
@ -49,7 +49,7 @@ static NSTimeInterval const RBLPopoverDefaultFadeDuration = 0.3;
|
|||
// The identifier for the event monitor we are using to watch for mouse clicks
|
||||
// outisde of the popover.
|
||||
// We are not responsible for it's memory management.
|
||||
@property (nonatomic, unsafe_unretained) id transientEventMonitor;
|
||||
@property (nonatomic, weak) id transientEventMonitor;
|
||||
|
||||
// Whether the popover is currently animating, either in or out.
|
||||
@property (nonatomic, getter = isAnimating) BOOL animating;
|
||||
|
|
Загрузка…
Ссылка в новой задаче