HomePhabricator

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

Authored by yuja.

Description

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

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.

Differential Revision: https://phab.mercurial-scm.org/D8449

Details

Committed
yujaApr 10 2020, 1:51 PM
Differential Revision
D8449: rust-chg: do not terminate tokio runtime until pager exits
Parents
rHG9fc9526e283a: rust-chg: modernize entry function
Branches
Unknown
Tags
Unknown