p0358 / notepadpp-CodeStats

Notepad++ plugin for Code::Stats (https://codestats.net)
Other
38 stars 21 forks source link

Save and restore pulses on shutdown #24

Closed p0358 closed 1 year ago

p0358 commented 1 year ago

Currently pulses that weren't sent upon Notepad++ shutdown (either because not enough time passed or there's no internet connection) are logged into the log file and dropped.

It should be considered to save them into some JSON array and file in such situation, and then restore them and delete the file on next Notepad++ launch and delete the file so that not a single pulse is lost.

Maybe in another 5 years... :D