acceptor: rebase from EventLoop onto AsyncEngine
This commit is contained in:
parent
3037ee439c
commit
98cc85e2d3
2 changed files with 38 additions and 52 deletions
|
|
@ -190,7 +190,7 @@ fn start_compositor2(
|
|||
});
|
||||
state.tracker.register(ClientId::from_raw(0));
|
||||
create_dummy_output(&state);
|
||||
let acceptor = Acceptor::install(&state)?;
|
||||
let (acceptor, acceptor_future) = Acceptor::install(&state)?;
|
||||
forker.install(&state);
|
||||
forker.setenv(
|
||||
WAYLAND_DISPLAY.as_bytes(),
|
||||
|
|
@ -202,6 +202,7 @@ fn start_compositor2(
|
|||
let compositor = engine.spawn(start_compositor3(state.clone(), test_future));
|
||||
el.run()?;
|
||||
drop(compositor);
|
||||
drop(acceptor_future);
|
||||
drop(acceptor);
|
||||
drop(forker);
|
||||
engine.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue