summaryrefslogtreecommitdiffstats
path: root/core/command.c
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-05-12 20:29:23 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-05-12 20:29:23 +0200
commit6a83ef1552de4a1a71da49e45647ce1a4ce64e53 (patch)
treed4a7b748832ce141c7e092c5ab11aa7044f1060f /core/command.c
parent6000e8f2065b6f0f887ecfe67a8b8ebf48d1826a (diff)
downloadmpv-6a83ef1552de4a1a71da49e45647ce1a4ce64e53.tar.bz2
mpv-6a83ef1552de4a1a71da49e45647ce1a4ce64e53.tar.xz
macosx_application: fix crash when quitting player
mpv crashed on quit when it was run using the bundle functionality and started without any files thus waiting for file open events. In that case, since there is no key_fifo initialized yet, short circuit to `terminate_cocoa_application()` which is generally called from `exit_player()` during normal lifecycle. Fixes bug report from user `eng` on IRC.
Diffstat (limited to 'core/command.c')
0 files changed, 0 insertions, 0 deletions