Page MenuHomePhabricator

[Services] Remove Arc usage
ClosedPublic

Authored by jon on Sep 12 2022, 8:05 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 10, 6:58 AM
Unknown Object (File)
Sun, Oct 27, 8:10 PM
Unknown Object (File)
Sun, Oct 27, 8:10 PM
Unknown Object (File)
Sun, Oct 27, 8:10 PM
Unknown Object (File)
Sun, Oct 27, 8:08 PM
Unknown Object (File)
Sat, Oct 19, 1:34 PM
Unknown Object (File)
Oct 15 2024, 5:36 PM
Unknown Object (File)
Oct 9 2024, 8:38 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.