diff options
author | James Ross-Gowan <rossymiles@gmail.com> | 2014-11-19 15:46:20 +1100 |
---|---|---|
committer | James Ross-Gowan <rossymiles@gmail.com> | 2014-11-22 18:15:08 +1100 |
commit | f2b94a3b499667cefe848ecc57487c8fe62584f4 (patch) | |
tree | 936d07833308672c25f6f6d970f2ca50a2dcb855 /osdep/glob-win.c | |
parent | 92316eb7406b27f4c1bd353b8f242c7ff28d64f5 (diff) | |
download | mpv-f2b94a3b499667cefe848ecc57487c8fe62584f4.tar.bz2 mpv-f2b94a3b499667cefe848ecc57487c8fe62584f4.tar.xz |
lua: subprocess: cancel pending I/O before return
I'm not sure if this is necessary, but it can't hurt, and it's what
you're supposed to do before leaving the stack frame that contains the
OVERLAPPED object and the buffer. If there is no pending I/O, CancelIo
will do nothing and GetOverlappedResult will silently fail.
Diffstat (limited to 'osdep/glob-win.c')
0 files changed, 0 insertions, 0 deletions