Fix crash on exit

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

00:11:26

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

00:07:41

passed libvlc-x86_64 #716272
amd64 docker

00:13:21

passed libvlc-x86_64-debug #716271
amd64 docker

00:17:50

passed libvlcsharp-unity #716275
amd64 docker

00:00:22

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

00:00:20

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

00:00:26