Increases resource count time to 0.2 sec.

This commit is contained in:
Krunoslav Zaher 2015-12-21 02:12:18 +01:00
parent b89f3f35c7
commit a2d7fc9c74
1 changed files with 1 additions and 1 deletions

View File

@ -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")
}