mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Fix IsAutoUpdateComplete throwing when unloaded
This commit is contained in:
parent
f6cd6d31ff
commit
bf0bd64faf
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ internal sealed class DalamudPluginInterface : IDalamudPluginInterface, IDisposa
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a value indicating whether auto-updates have already completed this session.
|
/// Gets a value indicating whether auto-updates have already completed this session.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool IsAutoUpdateComplete => Service<AutoUpdateManager>.Get().IsAutoUpdateComplete;
|
public bool IsAutoUpdateComplete => Service<AutoUpdateManager>.GetNullable()?.IsAutoUpdateComplete ?? false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the repository from which this plugin was installed.
|
/// Gets the repository from which this plugin was installed.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue