google-maps-ios-utils

Random KVO block crashes when allocating mapView, happens only when open/close screen several times

早过忘川 提交于 2019-12-11 12:58:05
问题 App is crashing on a map screen when it open and close several times. (Mostly on 6th attempt) Class that inherits from GMSMapView class AirportMapView: GMSMapView , AirportMapViewProtocol{ weak var airportMapViewModuleDelegate: AirportMapViewModuleProtocol? required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) } override init(frame: CGRect) { super.init(frame: frame) } convenience init(from frame: CGRect, with cameraPosition: GMSCameraPosition) { self.init(frame: frame) self