Page MenuHomePhabricator

[Services] Remove Arc usage
ClosedPublic

Authored by jon on Sep 12 2022, 8:05 AM.
Tags
None
Referenced Files
F3561057: D5114.id16588.diff
Fri, Dec 27, 8:32 AM
F3561055: D5114.diff
Fri, Dec 27, 8:32 AM
Unknown Object (File)
Thu, Dec 12, 8:49 AM
Unknown Object (File)
Nov 15 2024, 1:59 AM
Unknown Object (File)
Nov 15 2024, 12:49 AM
Unknown Object (File)
Nov 14 2024, 11:38 PM
Unknown Object (File)
Nov 10 2024, 6:58 AM
Unknown Object (File)
Oct 27 2024, 8:10 PM
Subscribers

Details

Summary

Arc allows for the release of resources to be delegated to the runtime.
However, we have a global singleton which will always be in scope, so we don't
have to worry about it needing to be dynamically released.

https://linear.app/comm/issue/ENG-1732

Test Plan

Backup CI passes

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Sep 12 2022, 8:09 AM
Harbormaster failed remote builds in B12087: Diff 16588!

Remove other references to Arc

(Resigning since I don't have the requisite Rust knowledge to review this yet)

That makes sense! We don't need an arc in lazy_static here.

This revision is now accepted and ready to land.Sep 12 2022, 11:14 AM
This revision was automatically updated to reflect the committed changes.