This is an archive of the discontinued Mercurial Phabricator instance.

rust-chg: move get_umask() call out of run() function
ClosedPublic

Authored by yuja on Apr 11 2020, 7:24 AM.

Details

Summary

run() will be an async function, but get_umask() isn't thread safe.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

yuja created this revision.Apr 11 2020, 7:24 AM
Alphare accepted this revision.Apr 14 2020, 5:08 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.