Crash on exit after starting and pausing playback
Steps to repro:
- start the app,
- open network stream,
- paste http://77.162.107.82/SubtitleTests/subtitle_testing_complex.mkv
- play for a few seconds,
- pause,
- close VLC by closing the window
Build: https://artifacts.videolan.org/vlc/nightly-win64-llvm/20210628-0420/vlc-4.0.0-dev-win64-2497347f.7z on Windows 10.