fix: stub out implicit Dispose in DalamudPluginInterface

This commit is contained in:
goaaats 2022-01-14 05:56:48 +01:00
parent 733fffc6f1
commit 70ef1ed45f
No known key found for this signature in database
GPG key ID: F18F057873895461

View file

@ -392,6 +392,15 @@ namespace Dalamud.Plugin
Service<DalamudConfiguration>.Get().DalamudConfigurationSaved -= this.OnDalamudConfigurationSaved;
}
/// <summary>
/// Obsolete implicit dispose implementation. Should not be used.
/// </summary>
[Obsolete("Do not dispose \"DalamudPluginInterface\".", true)]
public void Dispose()
{
// ignored
}
private void OnLocalizationChanged(string langCode)
{
this.UiLanguage = langCode;