refactor: move dispose logic out of entrypoint

This commit is contained in:
goat 2021-04-26 20:06:30 +02:00
parent 8976bfec3f
commit b7fd154b91
No known key found for this signature in database
GPG key ID: F18F057873895461
2 changed files with 10 additions and 5 deletions

View file

@ -59,11 +59,6 @@ namespace Dalamud
// Run session
dalamud.Start();
dalamud.WaitForUnload();
if (dalamud.Framework.DispatchUpdateEvents)
{
dalamud.DisposePlugins();
Thread.Sleep(100);
}
dalamud.Dispose();
}