Skip to content

server: Wrap Service.connection inside an Arc#318

Merged
bilelmoussaoui merged 1 commit into
linux-credentials:mainfrom
warusadura:arc
Oct 12, 2025
Merged

server: Wrap Service.connection inside an Arc#318
bilelmoussaoui merged 1 commit into
linux-credentials:mainfrom
warusadura:arc

Conversation

@warusadura

Copy link
Copy Markdown
Collaborator

And drop changes introduced in da99ffe
Fixes error: called Option::unwrap() on a None value when accessing Service.collection field.

And drop changes introduced in da99ffe
Fixes error: called `Option::unwrap()` on a `None` value
when accessing service.collection field.
@warusadura

Copy link
Copy Markdown
Collaborator Author

Actually wrapping the connection field inside an Arc is the solution. Otherwise we're setting the connection field only inside the cloned instance :)

@bilelmoussaoui

Copy link
Copy Markdown
Collaborator

Actually wrapping the connection field inside an Arc is the solution. Otherwise we're setting the connection field only inside the cloned instance :)

So you did test the changes this time or? :)

@warusadura

Copy link
Copy Markdown
Collaborator Author

Yeah, tested everything, multiple times :)

@bilelmoussaoui bilelmoussaoui merged commit ed4a3fd into linux-credentials:main Oct 12, 2025
7 of 8 checks passed
@warusadura

Copy link
Copy Markdown
Collaborator Author

Thanks!

@warusadura warusadura deleted the arc branch October 12, 2025 10:49
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