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, May 26, 8:04 PM
Unknown Object (File)
Sat, May 18, 6:30 AM
Unknown Object (File)
Sat, May 18, 6:30 AM
Unknown Object (File)
Sat, May 18, 6:30 AM
Unknown Object (File)
Sat, May 18, 6:29 AM
Unknown Object (File)
Sat, May 18, 6:25 AM
Unknown Object (File)
May 2 2024, 8:18 AM
Unknown Object (File)
May 1 2024, 6:21 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
Branch
jonringer/remove-arc
Lint
No Lint Coverage
Unit
No Test Coverage

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.