mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed tracing span ordering issue
This commit is contained in:
parent
e344277b08
commit
cb2de226a2
@ -72,6 +72,7 @@ pub fn run(mut global_state: GlobalState, event_loop: EventLoop, server: Option<
|
||||
|
||||
match event {
|
||||
winit::event::Event::NewEvents(_) => {
|
||||
event_span.take();
|
||||
prof_span!(span, "Process Events");
|
||||
event_span = Some(span);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user