Fix crash on exit

7 jobs for double-buffer in 15 minutes and 39 seconds (queued for 8 seconds)
Status Job ID Name Coverage
  Build
passed libvlc-uwp64-llvm #716285
amd64 docker

00:14:08

passed libvlc-uwp64-llvm-debug #716286
amd64 docker

00:11:25

passed libvlc-x86_64 #716284
amd64 docker

00:14:55

passed libvlc-x86_64-debug #716283
amd64 docker

00:15:21

passed libvlcsharp-unity #716287
amd64 docker

00:00:24

 
  Build Unity Plugin
passed unity-plugin-windows #716288
amd64 docker

00:00:17

passed unity-plugin-windows-trial #716289
amd64 docker

00:00:17