Skip to content

Commit

Permalink
[Issue Alamofire#269] Documenting requirement to cancel pending tasks…
Browse files Browse the repository at this point in the history
… before session manager deinitialization
  • Loading branch information
mattt committed Dec 22, 2014
1 parent e356b9f commit d41b8da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Alamofire.swift
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ extension NSURLRequest: URLRequestConvertible {

/**
Responsible for creating and managing `Request` objects, as well as their underlying `NSURLSession`.

When finished with a manager, be sure to call either `session.finishTasksAndInvalidate()` or `session.invalidateAndCancel()` before deinitialization.
*/
public class Manager {

Expand Down

0 comments on commit d41b8da

Please sign in to comment.