From a2d7fc9c74401913b4332c83ae8da2a4cbf26ad3 Mon Sep 17 00:00:00 2001 From: Krunoslav Zaher Date: Mon, 21 Dec 2015 02:12:18 +0100 Subject: [PATCH] Increases resource count time to 0.2 sec. --- RxExample/RxExample/ViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RxExample/RxExample/ViewController.swift b/RxExample/RxExample/ViewController.swift index f4b45f77..c6149f2b 100644 --- a/RxExample/RxExample/ViewController.swift +++ b/RxExample/RxExample/ViewController.swift @@ -85,7 +85,7 @@ class ViewController: OSViewController { Some small additional period to clean things up. In case there were async operations fired, they can't be cleaned up momentarily. */ - let time = dispatch_time(DISPATCH_TIME_NOW, Int64(0.05 * Double(NSEC_PER_SEC))) + let time = dispatch_time(DISPATCH_TIME_NOW, Int64(0.2 * Double(NSEC_PER_SEC))) dispatch_after(time, mainQueue) { assert(resourceCount <= numberOfResourcesThatShouldRemain, "Resources weren't cleaned properly") }