Skip to content

Commit

Permalink
Update analysis/runtime/src/runtime/global_runtime.rs
Browse files Browse the repository at this point in the history
Co-authored-by: spernsteiner <[email protected]>
  • Loading branch information
ahomescu and spernsteiner authored Jun 15, 2024
1 parent 6bba466 commit e82cc47
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions analysis/runtime/src/runtime/global_runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ impl GlobalRuntime {
None => {
// Silently drop the [`Event`] as the [`ScopedRuntime`] isn't ready/initialized yet.
//
// # Async-signal-safety: unlikely we wind up in a signal handler
// before `main`, and `BeforeMain` is async-signal-safe anyway.
// # Async-signal-safety: `skip_event(_, BeforeMain)` is async-signal-safe.
skip_event(event, SkipReason::BeforeMain);
}
Some(runtime) => {
Expand Down

0 comments on commit e82cc47

Please sign in to comment.