Kittyfisto / Tailviewer

Open source log file viewer
https://kittyfisto.github.io/Tailviewer/
MIT License
184 stars 38 forks source link

Tailviewer deadlocks sometimes when removing a data source #281

Closed Kittyfisto closed 3 years ago

Kittyfisto commented 3 years ago

Current behaviour

Tailviewer may enter a deadlock when a log file is removed and conditions are right.

Expected behaviour

Tailviewer may never enter a deadlock.

Steps to reproduce the problem

  1. Load a very big log file that takes dozens of seconds or longer to be fully loaded
  2. Remove the log file from the data source list while the file is still being loaded (progress must be less than 100%)
Kittyfisto commented 1 year ago

Fixed with Tailviewer v1.0.0-RC1.