ModernUO/Projects/UOContent/Engines/Advanced Search
Kamron Batman 2d9d83b2fd
fix(login): finish pending password writes on a normal shutdown
Exit() was never wired, so it was dead code either way. Wiring it correctly
depends on which teardown path is running.

On a normal shutdown EventSink.Shutdown fires on the game thread after the
loop has stopped, which is the last chance pending work gets: results the
worker already posted are sitting on a loop context nothing will pump again.
So the thread is stopped, the context drained once, and queued writes are
computed and applied in place. Verifies are dropped instead -- they only
decide a login, and every connection is closing.

On a crash there is no usable game thread, so nothing may be applied and the
thread is simply stopped. Subscribed separately because HandleClosed skips
InvokeShutdown when _crashed is set, which would otherwise leave the crash
path unhandled entirely.

Wired from AccountHandler.Initialize rather than a Configure on the worker:
AssemblyHandler.AddMethods binds Static | Public, so a Configure on an
internal type is never discovered.
2026-08-08 21:54:03 -07:00
..
AdvancedSearchCommand.cs fix: Fixes Advanced Search crash (#1946) 2024-09-08 20:37:51 -07:00
AdvancedSearchConfirmBringGump.cs feat: Adds AdvancedSearch (XmlFind) (#1649) 2023-12-28 18:55:47 -08:00
AdvancedSearchConfirmDeleteGump.cs feat: Adds AdvancedSearch (XmlFind) (#1649) 2023-12-28 18:55:47 -08:00
AdvancedSearchFilter.cs feat: Adds AdvancedSearch (XmlFind) (#1649) 2023-12-28 18:55:47 -08:00
AdvancedSearchGump.cs fix: Harden Advanced Search: crash-safety, autosave, correct results & worker fixes (#2543) 2026-07-21 07:51:06 -07:00
AdvancedSearchResult.cs feat: Adds AdvancedSearch (XmlFind) (#1649) 2023-12-28 18:55:47 -08:00
AdvancedSearchResultComparers.cs feat: Adds AdvancedSearch (XmlFind) (#1649) 2023-12-28 18:55:47 -08:00
AdvancedSearchThreadWorker.cs fix(advancedsearch): clear pause and sample exit before signaling the drain (#2549) 2026-07-25 15:32:06 -07:00
AdvancedSearchUtilities.cs fix(login): finish pending password writes on a normal shutdown 2026-08-08 21:54:03 -07:00
AdvancedSearchWarningGump.cs fix: Consolidates Color/Center html (#1762) 2024-05-07 23:56:32 -07:00