summaryrefslogtreecommitdiffstats
path: root/waftools/waf_customizations.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-02-25 22:41:09 +0100
committerwm4 <wm4@nowhere>2020-02-25 22:41:09 +0100
commitc43fd88f5997821251bdeeca9700fa18c42049df (patch)
tree92979b07129f94ad8d07f92f6b242df7f4e0807d /waftools/waf_customizations.py
parent322eb726799fd606747fc61035f00de07a522298 (diff)
downloadmpv-c43fd88f5997821251bdeeca9700fa18c42049df.tar.bz2
mpv-c43fd88f5997821251bdeeca9700fa18c42049df.tar.xz
scripting: fix racy crash if loading .run files fails
args->client was deallocated if the FDs were closed and nothing referenced it (IPC socket codes detected the closed sockets and asynchronously killed the mpv_handle in args->client). The problem was that args->log depended on it, and was also destroyed. Fix this by duplicating the mp_log.
Diffstat (limited to 'waftools/waf_customizations.py')
0 files changed, 0 insertions, 0 deletions