kits-ab / LogLady

Log file viewer
https://loglady.dev/
MIT License
8 stars 0 forks source link

Flush backend cache for one file when closing its tab #527 #534

Closed MelindaSW closed 4 years ago

MelindaSW commented 4 years ago

This small fix adds a request to the backend when a tab is closed for removing the cached lines of the closed file. That way it does not take up unnecessary space when it's not needed.

MelindaSW commented 4 years ago

image I checked it by adding some console logs like this in the flush function.