It looks like a Swift compiler error (at least version 1.1), discussed here:
https://github.com/ReactiveCocoa/ReactiveCocoa/issues/1632
In release builds, closing is sometimes not called, especially when they are sequenced as follows:
array.map({ $0 * 2 }).map({ $0 * 3 }).map({ $0 * 4 })...
Swift, Objective-C. Swift Compiler None [-Onone], .

:
func completionHandler() {
NSUserDefaults.standardUserDefaults().setBool(true, forKey: kChromeCastInstructionsShown)
NSUserDefaults.standardUserDefaults().synchronize()
println("save bolean")
}
sourceViewController.presentViewController(ccVC, animated: true, completion: completionHandler)
, , .