AnyOldName3 / modorganizer-installer_omod

OMOD installer using https://github.com/erri120/OMODFramework
GNU General Public License v3.0
2 stars 3 forks source link

Reuse various objects #5

Closed AnyOldName3 closed 3 years ago

AnyOldName3 commented 4 years ago

As demonstrated by https://github.com/AnyOldName3/modorganizer-installer_omod/tree/initialise-once, it's possible to reuse the same OMODFrameworkWrapper for multiple OMOD installations instead of constructing and tearing down a fresh one each time. For stuff like the OMODFrameworkSettings, which is static, it better matches the natural lifetime of the state we're setting.

Annoyingly:

AnyOldName3 commented 3 years ago

Resolved by 323afe8