mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-31 21:03:43 +01:00
fix: race condition in DPI.IsDebugging during plugin load
This commit is contained in:
parent
264c85b0dc
commit
6758006c04
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ namespace Dalamud.Plugin
|
|||
#if DEBUG
|
||||
public bool IsDebugging => true;
|
||||
#else
|
||||
public bool IsDebugging => Service<DalamudInterface>.Get().IsDevMenuOpen;
|
||||
public bool IsDebugging => Service<DalamudInterface>.GetNullable() is {IsDevMenuOpen: true}; // Can be null during boot
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue