Nullify Scoped Service Delegates

This commit is contained in:
MidoriKami 2023-09-19 23:43:45 -07:00
parent b0986a5225
commit c305c01dfd
9 changed files with 27 additions and 1 deletions

View file

@ -417,6 +417,10 @@ internal class ToastGuiPluginScoped : IDisposable, IServiceType, IToastGui
this.toastGuiService.Toast -= this.ToastForward;
this.toastGuiService.QuestToast -= this.QuestToastForward;
this.toastGuiService.ErrorToast -= this.ErrorToastForward;
this.Toast = null;
this.QuestToast = null;
this.ErrorToast = null;
}
/// <inheritdoc/>