Fix VRCX.json being slow to save

This commit is contained in:
Natsumi
2025-10-16 13:19:40 +11:00
parent 23d9850a25
commit 617d2e161d
6 changed files with 37 additions and 107 deletions

View File

@@ -204,7 +204,7 @@ namespace VRCX
VRCXStorage.Instance.Set("VRCX_SizeWidth", LastSizeWidth.ToString());
VRCXStorage.Instance.Set("VRCX_SizeHeight", LastSizeHeight.ToString());
VRCXStorage.Instance.Set("VRCX_WindowState", ((int)LastWindowStateToRestore).ToString());
VRCXStorage.Instance.Flush();
VRCXStorage.Instance.Save();
}
private void MainForm_FormClosed(object sender, FormClosedEventArgs e)