mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-20 23:07:43 +01:00
refactor: move dispose logic out of entrypoint
This commit is contained in:
parent
8976bfec3f
commit
b7fd154b91
2 changed files with 10 additions and 5 deletions
|
|
@ -59,11 +59,6 @@ namespace Dalamud
|
|||
// Run session
|
||||
dalamud.Start();
|
||||
dalamud.WaitForUnload();
|
||||
if (dalamud.Framework.DispatchUpdateEvents)
|
||||
{
|
||||
dalamud.DisposePlugins();
|
||||
Thread.Sleep(100);
|
||||
}
|
||||
|
||||
dalamud.Dispose();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue