diff --git a/README.md b/README.md index e869fa3..241754b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ![Shakuro Task Manager](Resources/title_image.png)

# Task Manager -![Version](https://img.shields.io/badge/version-1.1.5-blue.svg) +![Version](https://img.shields.io/badge/version-1.1.6-blue.svg) ![Platform](https://img.shields.io/badge/platform-iOS-lightgrey.svg) ![License MIT](https://img.shields.io/badge/license-MIT-green.svg) diff --git a/Shakuro.TaskManager.podspec b/Shakuro.TaskManager.podspec index 2da156e..037922e 100644 --- a/Shakuro.TaskManager.podspec +++ b/Shakuro.TaskManager.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'Shakuro.TaskManager' - s.version = '1.1.5' + s.version = '1.1.6' s.summary = 'Shakuro Task Manager' s.homepage = 'https://github.com/shakurocom/TaskManager' s.license = { :type => "MIT", :file => "LICENSE.md" } diff --git a/Source/TaskManager.swift b/Source/TaskManager.swift index 913bcd3..d732c1b 100644 --- a/Source/TaskManager.swift +++ b/Source/TaskManager.swift @@ -77,7 +77,7 @@ open class TaskManager { case .success(let value): continuation.resume(returning: value) case .cancelled: - break + continuation.resume(throwing: CancellationError()) case .failure(let error): continuation.resume(throwing: error) }