You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With night-config 3.8.0, using auto-saving (or any kind of saving) with AsyncFileConfig is a guarantee for a catastrophic failure since
the fileWriter instance is never closed and continuously re-used, which prevents from using the configuration and saving it multiple times, as doing so will only pile on the configuration multiple times in the fileWriter without resetting it.
This effectively makes the TRUNCATE_EXISTING void.
The text was updated successfully, but these errors were encountered:
TheElectronWill
changed the title
Catastrophic failure of saving with AsyncFileConfig
WritingMode.TRUNCATE_EXISTING no longer works with AsyncFileConfig
Jul 31, 2024
With night-config 3.8.0, using auto-saving (or any kind of saving) with
AsyncFileConfig
is a guarantee for a catastrophic failure sincethe
fileWriter
instance is never closed and continuously re-used, which prevents from using the configuration and saving it multiple times, as doing so will only pile on the configuration multiple times in thefileWriter
without resetting it.This effectively makes the
TRUNCATE_EXISTING
void.The text was updated successfully, but these errors were encountered: