     }
 
 
+    deinit {
+        _fetchedResultsController = nil
+        DLOG("")
+    }
+
+
     required init(coder aDecoder: NSCoder) {
         super.init(coder: aDecoder)
     }

            return cell
        } else {
            let cell = tableView.dequeueReusableCellWithIdentifier(TableViewConstants.CellIdentifiers.message, forIndexPath: indexPath) as RHCTodayCell
            let stationInfo = self.fetchedResultsController.objectAtIndexPath(indexPath) as CDStation
            let tmpplot: CDPlot? = stationInfo.lastRegisteredPlot()

            if let plot = tmpplot {
                let winddir = CGFloat(plot.windDir.floatValue)



    func updateContentWithCompletionHandler(completionHandler: ((NCUpdateResult) -> Void)? = nil) {

        WindManager.sharedManager.fetch { (fetchResult: UIBackgroundFetchResult) -> Void in
            dispatch_async(dispatch_get_main_queue(), { () -> Void in
                self.tableView.reloadData()
                completionHandler?(.NewData)
                return
            })
        }

        //_fetchedResultsController = nil
    }
}
