Skip to content

Commit

Permalink
- OCHTTPPipeline: remove accidental result inversion that led to unwa…
Browse files Browse the repository at this point in the history
…nted HTTP request removals/reschedules by other processes; fixing finding (4) in owncloud/ios-app#1362
  • Loading branch information
felix-schwarz committed Sep 17, 2024
1 parent 8ae91ff commit 8da653e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ownCloudSDK/HTTP/Pipeline/OCHTTPPipeline.m
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ - (void)_schedule

if ((processSession = [[OCProcessManager sharedProcessManager] findLatestSessionForProcessWithBundleIdentifier:task.bundleID]) != nil)
{
taskExecutingOtherProcessIsAlive = ![[OCProcessManager sharedProcessManager] isAnyInstanceOfSessionProcessRunning:processSession];
taskExecutingOtherProcessIsAlive = [[OCProcessManager sharedProcessManager] isAnyInstanceOfSessionProcessRunning:processSession];
isRelevant = !taskExecutingOtherProcessIsAlive;
}
}
Expand Down

0 comments on commit 8da653e

Please sign in to comment.