<p>It would be good to reduce file writes e.g. to prolong hard disk life. What if we track when session data changes but only write the keyfile when the main window loses focus? That would seem to solve the user clicking logout problem and drastically reduce disk/network writes.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2114?email_source=notifications&email_token=AAIOWJ7QCLKLM3ALSLINH43PY6KO7A5CNFSM4HCD7YRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW7KNZA#issuecomment-499033828">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZKWD3IABJUD3KCMALPY6KO7ANCNFSM4HCD7YRA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ7CZLV2MKSYMOFEZB3PY6KO7A5CNFSM4HCD7YRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW7KNZA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2114?email_source=notifications\u0026email_token=AAIOWJ7QCLKLM3ALSLINH43PY6KO7A5CNFSM4HCD7YRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW7KNZA#issuecomment-499033828",
"url": "https://github.com/geany/geany/pull/2114?email_source=notifications\u0026email_token=AAIOWJ7QCLKLM3ALSLINH43PY6KO7A5CNFSM4HCD7YRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW7KNZA#issuecomment-499033828",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>