Merge branch 'cookie_snapshot' into dev

This commit is contained in:
hkfires committed 2025-09-19 12:40:59 +08:00
commit 1dccdb7ff2
1 file changed
+1
+1
View File
@@ -344,6 +344,7 @@ func StartService(cfg *config.Config, configPath string) {
}
activeClientsMu.RUnlock()
for _, c := range snapshot {
misc.LogCredentialSeparator()
// Persist tokens/cookies then unregister/cleanup per client.
_ = c.SaveTokenToFile()
switch u := any(c).(type) {