capture will create a .ser file if a filename is provided. When the program ends, this file remains on disk even if zero frames were written to it. This is silly and creates extra friction if the program is re-started with the same filename later, since the program also tries to prevent accidentally overwriting existing files.
Delete the file on program end if no frames were written to it.
capture
will create a .ser file if a filename is provided. When the program ends, this file remains on disk even if zero frames were written to it. This is silly and creates extra friction if the program is re-started with the same filename later, since the program also tries to prevent accidentally overwriting existing files.Delete the file on program end if no frames were written to it.