Skip to content

Commit

Permalink
Added a parameter assert
Browse files Browse the repository at this point in the history
  • Loading branch information
MugunthKumar committed Apr 3, 2012
1 parent b2d7991 commit e03472d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MKNetworkKit/MKNetworkEngine.m
Expand Up @@ -329,6 +329,8 @@ -(void) enqueueOperation:(MKNetworkOperation*) operation {
}

-(void) enqueueOperation:(MKNetworkOperation*) operation forceReload:(BOOL) forceReload {

NSParameterAssert(operation != nil);
// Grab on to the current queue (We need it later)
dispatch_queue_t originalQueue = dispatch_get_current_queue();
// Jump off the main thread, mainly for disk cache reading purposes
Expand Down

0 comments on commit e03472d

Please sign in to comment.