diff options
author | rear1019 <rear1019@posteo.de> | 2020-03-29 11:04:24 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2020-04-13 14:23:31 +0200 |
commit | ec8a92846a388cb0d2982822ea1961910cd552f8 (patch) | |
tree | 22f948325fa655bdbe4787758e296b603d743471 /gnuradio-runtime/lib/vmcircbuf_mmap_tmpfile.cc | |
parent | 596c6495f3bdf579dae0c26531a16f6adcc7fb2f (diff) |
file_sink: Flush file on stop()
Make sure that data passed to the file sink is written to the disk when
the flowgraph is stopped. Before this change this only happened
implicitly due to a fclose() in the base class destructor. This in turn
means that data was written delayed after stopping the flowgraph [1].
This fixes #2590.
[1] https://github.com/gnuradio/gnuradio/issues/2590
Diffstat (limited to 'gnuradio-runtime/lib/vmcircbuf_mmap_tmpfile.cc')
0 files changed, 0 insertions, 0 deletions