Revert "fix: avoid deadlock in context menu rendering"
This reverts commit 0094b347d4.
This commit is contained in:
parent
dfcd989947
commit
9c748f1656
1 changed files with 1 additions and 1 deletions
|
|
@ -538,6 +538,7 @@ impl SctkEventLoop {
|
||||||
wake_up = true;
|
wake_up = true;
|
||||||
|
|
||||||
_ = s.frame(&state.state.queue_handle, s.clone());
|
_ = s.frame(&state.state.queue_handle, s.clone());
|
||||||
|
_ = state.state.frame_status.remove(&id);
|
||||||
_ = state.state.events_sender.unbounded_send(
|
_ = state.state.events_sender.unbounded_send(
|
||||||
Control::Winit(
|
Control::Winit(
|
||||||
winit::window::WindowId::from_raw(
|
winit::window::WindowId::from_raw(
|
||||||
|
|
@ -546,7 +547,6 @@ impl SctkEventLoop {
|
||||||
winit::event::WindowEvent::RedrawRequested,
|
winit::event::WindowEvent::RedrawRequested,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
_ = state.state.frame_status.insert(id, state::FrameStatus::Received);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if wake_up {
|
if wake_up {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue