This commit is contained in:
Anna 2022-09-03 22:11:18 -04:00
parent 799700c985
commit 706015d706
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0
2 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,8 @@ internal class Messages : IDisposable {
this.Plugin.ClientState.Logout -= this.RemoveVfx; this.Plugin.ClientState.Logout -= this.RemoveVfx;
this.Plugin.ClientState.Login -= this.SpawnVfx; this.Plugin.ClientState.Login -= this.SpawnVfx;
this.Plugin.Framework.Update -= this.HandleSpawnQueue; this.Plugin.Framework.Update -= this.HandleSpawnQueue;
this.RemoveVfx(null, null);
} }
private unsafe void HandleSpawnQueue(Framework framework) { private unsafe void HandleSpawnQueue(Framework framework) {

View File

@ -41,6 +41,7 @@ public class Plugin : IDalamudPlugin {
public void Dispose() { public void Dispose() {
this.Messages.Dispose(); this.Messages.Dispose();
this.Ui.Dispose(); this.Ui.Dispose();
this.Vfx.Dispose();
} }
internal void SaveConfig() { internal void SaveConfig() {