Refresh inputs/outputs at start
This commit is contained in:
parent
7212fe545b
commit
9f3803fedc
1 changed files with 2 additions and 0 deletions
|
|
@ -72,6 +72,8 @@ fn app(application: &Application) {
|
||||||
if pa.context.get_state() == State::Ready {
|
if pa.context.get_state() == State::Ready {
|
||||||
pa.context
|
pa.context
|
||||||
.subscribe(InterestMaskSet::SINK | InterestMaskSet::SOURCE, |_| {});
|
.subscribe(InterestMaskSet::SINK | InterestMaskSet::SOURCE, |_| {});
|
||||||
|
refresh_output_tx.unbounded_send(()).expect("failed to send output refresh message");
|
||||||
|
refresh_input_tx.unbounded_send(()).expect("failed to send output refresh message");
|
||||||
}
|
}
|
||||||
}))));
|
}))));
|
||||||
pa.borrow_mut()
|
pa.borrow_mut()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue