Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c46b8ac3 authored by Marco Nelissen's avatar Marco Nelissen
Browse files

screenrecord: fix race condition

When pressing ctrl-c immediately after starting screenrecord (after
setting the signal handler, but before gStopRequested is set to false)
the record loop would never exit.
Also delete the target file before recreating it, to avoid multiple
instances of screenrecord writing the same file.

Bug: 30247947
Change-Id: I374c125dac69e75638955680a2a5da81e3b22ffe
parent 38c75d9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment