mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
fix: don't try to disable plugin during update if it already has been
This commit is contained in:
parent
b7bd3f28ea
commit
46c2511c84
1 changed files with 3 additions and 1 deletions
|
|
@ -968,7 +968,9 @@ internal partial class PluginManager : IDisposable, IServiceType
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
plugin.Disable();
|
if (!plugin.IsDisabled)
|
||||||
|
plugin.Disable();
|
||||||
|
|
||||||
lock (this.pluginListLock)
|
lock (this.pluginListLock)
|
||||||
{
|
{
|
||||||
this.InstalledPlugins = this.InstalledPlugins.Remove(plugin);
|
this.InstalledPlugins = this.InstalledPlugins.Remove(plugin);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue