Skip to content

remove unnecessary completer nil check#377

Merged
bgentry merged 2 commits intomasterfrom
bg-always-a-completer-if-running-jobs
Jun 3, 2024
Merged

remove unnecessary completer nil check#377
bgentry merged 2 commits intomasterfrom
bg-always-a-completer-if-running-jobs

Conversation

@bgentry
Copy link
Contributor

@bgentry bgentry commented May 30, 2024

The completer must always be non-nil when starting a client (working jobs). The prior check for willExecuteJobs provides the required safety without this additional nil check.

@bgentry bgentry requested a review from brandur May 30, 2024 09:49
bgentry added 2 commits May 30, 2024 15:15
The completer must always be non-nil when starting a client (working
jobs). The prior check for `willExecuteJobs` provides the required
safety without this additional nil check.
Don't need a redundant closure here to wrap the callback function.
@bgentry bgentry force-pushed the bg-always-a-completer-if-running-jobs branch from 2677139 to c2f7956 Compare May 30, 2024 20:15
@bgentry bgentry merged commit 15a515b into master Jun 3, 2024
@bgentry bgentry deleted the bg-always-a-completer-if-running-jobs branch June 3, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants