LL084
Unprotected shared resource
Object Pascal — Delphi & Free Pascal
Warning
Reliability
Entering a critical section without a matching Leave risks deadlocks
entering a critical section without a matching Leave risks deadlocks.
Why this severity
entering a critical section without a matching Leave risks deadlocks.
Known false positives
Enter/Leave pairs split across method boundaries by design.
Remediation example
CS.Enter; try SharedData := NewValue; finally CS.Leave; end;