Skip to content

Commit

Permalink
II-15-[fixed cancelled continuation]
Browse files Browse the repository at this point in the history
  • Loading branch information
spopovshakuro committed Oct 18, 2024
1 parent df98839 commit b32395e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
![Shakuro Task Manager](Resources/title_image.png)
<br><br>
# 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)

Expand Down
2 changes: 1 addition & 1 deletion Shakuro.TaskManager.podspec
Original file line number Diff line number Diff line change
@@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion Source/TaskManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit b32395e

Please sign in to comment.