AppRuntime::resumed state check condition is always true — spurious warnings #670
Labels
No labels
Context: Bug
Context: Enhancements
Platform: Android
Platform: Linux
Platform: Web
Platform: Windows
Platform: iOS
Platform: macOS
Target: CI
Target: CLI
Target: Dependency
Target: Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
SakulFlee/Orbital#670
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: 🟡 Medium
File:
Crates/orbital_app/src/runtime.rs:214Bug:
The guard condition uses
||(OR) when it should use&&(AND), making it always evaluate totrue:If state is
Starting:!Starting = false, but!Paused = true→ overall:true(spurious warning).If state is
Paused:!Starting = true→ overall:true(spurious warning).If state is anything else: both are
true.Impact: The debug warning fires on every resume even in valid states.
Fix: Change
||to&&.@SakulFlee