( )⚙ D8449 rust-chg: do not terminate tokio runtime until pager exits

This is an archive of the discontinued Mercurial Phabricator instance.

rust-chg: do not terminate tokio runtime until pager exits
ClosedPublic

Authored by yuja on Apr 16 2020, 8:30 AM.

Details

Summary

We no longer need to spawn a task just to keep the pager handle. The pager
handle can be held by ChgUiHandler since the handler itself is not consumed
and recreated across async calls.

Diff Detail

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

Event Timeline

yuja created this revision.Apr 16 2020, 8:30 AM
Alphare accepted this revision.Apr 17 2020, 8:32 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.