RepostConvenienceMod v1.0.0

Faster Exit

Faster Exit. With a heavy mod list, clicking Exit can freeze the game window for tens of seconds before closing. On quit, the game removes every Harmony patch one by one and recompiles each patched method after every removal — wasted work when the process is about to terminate anyway.

皮皮山上的咕咕⑨ · uploaded by NicoUpdated Nov 17, 20264,931 subscribers92 favorites4,059 views

Original release page ↗

Please download from the original page.

Prerequisites

The current package's manifest.xml lists no required mods.

Faster Exit

With a heavy mod list, clicking Exit can freeze the game window for tens of seconds before closing. On quit, the game removes every Harmony patch one by one and recompiles each patched method after every single removal — wasted work when the process is about to terminate anyway.

This mod skips patch removal only while the game is quitting, leaving the rest of the shutdown intact. Tested with over 3,000 active patches: mod shutdown dropped from ~24 seconds to under 1 second.

  • Normal cleanup preserved: every mod's OnDisable callback (saving mod settings, unsubscribing events, freeing objects) runs as usual; only patch removal by the loader and individual mods is skipped.

  • Quit only: toggling mods on or off from the in-game Mods screen still installs and removes patches normally.

  • Slow-shutdown log: any mod whose OnDisable itself takes over 100 ms on quit is logged with its elapsed time, making remaining bottlenecks easy to spot.

  • Plug and play: does not touch the mod loader, built-in game patches, or save files. No settings, no load-order requirements, safe to add or remove anytime.

Notes

  • Remaining exit time: the vanilla 1-second analytics wait (when analytics consent is enabled), Unity's own ~1-second engine shutdown, and non-unpatch work inside mods' OnDisable callbacks (such as exit-save mods writing files) still run normally.

  • Compatibility: skipping unpatching keeps loaded patches in memory until the process exits. Vanilla does not save on quit and no issues occurred in testing, but if a mod logs shutdown errors or fails to save its own config

Comments

0

Loading comments…