Commit 8bd57a9
hongjin.zhou
Fix endless file reading even with a set stop event
Problem: when a dlt file always has incoming dlt messages, the file
reading fails to stop even when users set the stop_reading_event.
Because we dont check the status of stop_reading_event while reading dlt
file returns OK, so the set stop_reading_event wont be perceived
Solution: while reading dlt file returns OK, we have another check of
the status of stop_reading_event, so that the reading could be stopped
accordingly1 parent 07cc823 commit 8bd57a9
1 file changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
767 | 767 | | |
768 | 768 | | |
769 | 769 | | |
770 | | - | |
| 770 | + | |
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
| |||
791 | 791 | | |
792 | 792 | | |
793 | 793 | | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
794 | 797 | | |
795 | 798 | | |
796 | 799 | | |
| |||
804 | 807 | | |
805 | 808 | | |
806 | 809 | | |
807 | | - | |
808 | | - | |
809 | | - | |
| 810 | + | |
810 | 811 | | |
811 | 812 | | |
812 | 813 | | |
813 | 814 | | |
814 | 815 | | |
815 | 816 | | |
816 | 817 | | |
817 | | - | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
818 | 821 | | |
819 | 822 | | |
820 | 823 | | |
| |||
0 commit comments